Skip to content

Commit

Permalink
Fixing the condition for embedded cache MTLS encryption
Browse files Browse the repository at this point in the history
Closes #28750

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
  • Loading branch information
ahus1 committed Apr 20, 2024
1 parent 9d0b1ec commit 071032a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private void configureTransportStack(ConfigurationBuilderHolder builder) {
transportConfig.defaultTransport().stack(transportStack);
}

if (Configuration.isTrue(CachingOptions.CACHE_REMOTE_TLS_ENABLED)) {
if (Configuration.isTrue(CachingOptions.CACHE_EMBEDDED_MTLS_ENABLED_PROPERTY)) {
validateTlsAvailable(transportConfig.build());
var tls = new TLS()
.enabled(true)
Expand Down

0 comments on commit 071032a

Please sign in to comment.