Skip to content

Commit

Permalink
refactor: use new helper function for determined tls
Browse files Browse the repository at this point in the history
  • Loading branch information
KauzClay committed Aug 18, 2023
1 parent a8b7aec commit 0fc6863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/activator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ func main() {
logger.Fatalw("Failed to construct network config", zap.Error(err))
}

// Enable TLS against queue-proxy when internal-encryption is enabled.
tlsEnabled := networkConfig.InternalEncryption
// Enable TLS against queue-proxy when dataplane-trust != disabled.
tlsEnabled := networkConfig.InternalTLSEnabled()

var certCache *certificate.CertCache

Expand Down

0 comments on commit 0fc6863

Please sign in to comment.