Skip to content

Commit b36b2ce

Browse files
Fix isDisabled
1 parent 8118331 commit b36b2ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

temporal-envconfig/src/main/java/io/temporal/envconfig/ClientConfigProfile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public WorkflowServiceStubsOptions toWorkflowServiceStubsOptions() {
132132
if (this.metadata != null) {
133133
builder.addGrpcMetadataProvider(() -> this.metadata);
134134
}
135-
if (this.tls != null && !Boolean.FALSE.equals(this.tls.isDisabled())) {
135+
if (this.tls != null && this.tls.isDisabled() != null && !this.tls.isDisabled()) {
136136
InputStream clientCertStream = null;
137137
InputStream keyFileStream = null;
138138
InputStream trustCertCollectionInputStream = null;

0 commit comments

Comments
 (0)