You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2019/10/04 17:52:53 UTC

[GitHub] [helix] dasahcc commented on a change in pull request #504: Fix null response for instance stoppable check when connection refused.

dasahcc commented on a change in pull request #504: Fix null response for instance stoppable check when connection refused.
URL: https://github.com/apache/helix/pull/504#discussion_r331617434
 
 

 ##########
 File path: helix-rest/src/main/java/org/apache/helix/rest/server/service/InstanceServiceImpl.java
 ##########
 @@ -220,6 +222,12 @@ private StoppableCheck performCustomInstanceCheck(String clusterId, String insta
       return new StoppableCheck(
           _customRestClient.getInstanceStoppableCheck(baseUrl, customPayLoads),
           StoppableCheck.Category.CUSTOM_INSTANCE_CHECK);
+    } catch (HttpHostConnectException ex) {
+      String msg = "Custom client side instance level health check for {}/{} failed "
 
 Review comment:
   This is one time use for this String. Dont have to create a separate object.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org