File tree 2 files changed +6
-9
lines changed
main/java/glide/api/models/configuration
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ public abstract class BaseClientConfiguration {
39
39
/**
40
40
* True if communication with the cluster should check certificate validity.
41
41
*
42
- * <p>If the server/cluster's certificate does not validate, not setting this will cause the connection
43
- * attempt to fail.
42
+ * <p>If the server/cluster's certificate does not validate, not setting this will cause the
43
+ * connection attempt to fail.
44
44
*
45
- * <p>If the server/cluster's certificate does not validate, setting this will cause the connection
46
- * to ignore the certificate's validity and succeed.
45
+ * <p>If the server/cluster's certificate does not validate, setting this will cause the
46
+ * connection to ignore the certificate's validity and succeed.
47
47
*
48
- * This is useful for when CNAMEs are used to point to a server/cluster.
48
+ * <p> This is useful for when CNAMEs are used to point to a server/cluster.
49
49
*/
50
50
@ Builder .Default private final boolean useInsecureTLS = false ;
51
51
Original file line number Diff line number Diff line change @@ -354,10 +354,7 @@ private void testAzAffinityWithoutClientAzThrowsConfigurationError(ReadFrom read
354
354
public void connection_request_protobuf_generation_use_insecure_tls () {
355
355
// setup
356
356
GlideClusterClientConfiguration glideClusterClientConfiguration =
357
- GlideClusterClientConfiguration .builder ()
358
- .useTLS (true )
359
- .useInsecureTLS (true )
360
- .build ();
357
+ GlideClusterClientConfiguration .builder ().useTLS (true ).useInsecureTLS (true ).build ();
361
358
ConnectionRequest expectedProtobufConnectionRequest =
362
359
ConnectionRequest .newBuilder ()
363
360
.setTlsMode (TlsMode .InsecureTls )
You can’t perform that action at this time.
0 commit comments