Skip to content

Commit 8c1199d

Browse files
committed
Fix problem after merge.
1 parent ecb6b03 commit 8c1199d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xds/src/main/java/io/grpc/xds/ClusterResolverLoadBalancerProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ boolean isHttp11ProxyAvailable() {
8888

8989
@Override
9090
public int hashCode() {
91-
return Objects.hash(discoveryMechanisms, lbConfig, isHttp11ProxyAvailable);
91+
return Objects.hash(discoveryMechanism, lbConfig, isHttp11ProxyAvailable);
9292
}
9393

9494
@Override
@@ -100,7 +100,7 @@ public boolean equals(Object o) {
100100
return false;
101101
}
102102
ClusterResolverConfig that = (ClusterResolverConfig) o;
103-
return discoveryMechanisms.equals(that.discoveryMechanisms)
103+
return discoveryMechanism.equals(that.discoveryMechanism)
104104
&& lbConfig.equals(that.lbConfig)
105105
&& isHttp11ProxyAvailable == that.isHttp11ProxyAvailable;
106106
}

0 commit comments

Comments
 (0)