Skip to content

Commit

Permalink
Update src/test/java/redis/clients/jedis/EndpointConfig.java
Browse files Browse the repository at this point in the history
Co-authored-by: M Sazzadul Hoque <[email protected]>
  • Loading branch information
ggivo and sazzad16 authored Dec 4, 2024
1 parent eae2f4f commit 5bf942e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/redis/clients/jedis/EndpointConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public DefaultJedisClientConfig.Builder getClientConfigBuilder() {
DefaultJedisClientConfig.Builder builder = DefaultJedisClientConfig.builder()
.password(password).ssl(tls);

if (tls & environment != null) {
if (tls && environment != null) {
builder.sslSocketFactory(TlsUtil.sslSocketFactoryForEnv(environment));
}

Expand Down

0 comments on commit 5bf942e

Please sign in to comment.