zhuzhurk commented on a change in pull request #10898: 
[FLINK-15632][kubernetes] Make zookeeper HA service could work for active 
kubernetes integration
URL: https://github.com/apache/flink/pull/10898#discussion_r368525852
 
 

 ##########
 File path: 
flink-clients/src/main/java/org/apache/flink/client/program/rest/RestClusterClient.java
 ##########
 @@ -182,7 +206,7 @@ public RestClusterClient(Configuration config, T 
clusterId) throws Exception {
                this.waitStrategy = checkNotNull(waitStrategy);
                this.clusterId = checkNotNull(clusterId);
 
-               this.clientHAServices = 
HighAvailabilityServicesUtils.createClientHAService(configuration);
+               this.clientHAServices = clientHAServices;
 
 Review comment:
   better to `checkNotNull`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to