Skip to content

Commit

Permalink
refactor the variable names.
Browse files Browse the repository at this point in the history
Signed-off-by: sj895092 <[email protected]>
  • Loading branch information
Shobhajayanna committed Oct 2, 2024
1 parent 207d01d commit 4d95764
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public HostnameVerifier getHostnameVerifier() {
}
}

public EurekaJerseyClientBuilder createEurekaJerseyClientBuilder(String eurekaServerUrl, String serviceId, boolean isAttlsEnabled) {
public EurekaJerseyClientBuilder createEurekaJerseyClientBuilder(String eurekaServerUrl, String serviceId, boolean attlsEnabled) {
EurekaJerseyClientBuilder builder = new EurekaJerseyClientBuilder();
builder.withClientName(serviceId);
builder.withMaxTotalConnections(10);
Expand All @@ -248,7 +248,7 @@ public EurekaJerseyClientBuilder createEurekaJerseyClientBuilder(String eurekaSe
// See:
// https://github.com/Netflix/eureka/blob/master/eureka-core/src/main/java/com/netflix/eureka/transport/JerseyReplicationClient.java#L160
if (eurekaServerUrl.startsWith("http://")) {
if (!isAttlsEnabled) {
if (!attlsEnabled) {
apimlLog.log("org.zowe.apiml.common.insecureHttpWarning");
}
} else {
Expand Down

0 comments on commit 4d95764

Please sign in to comment.