mcvsubbu commented on a change in pull request #4560: Refactor 
toggleInstanceState API
URL: https://github.com/apache/incubator-pinot/pull/4560#discussion_r317852991
 
 

 ##########
 File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java
 ##########
 @@ -2142,48 +2142,59 @@ public PinotResourceManagerResponse 
dropInstance(String instanceName) {
    * @param timeOutInSeconds: Time-out for setting ideal-state.
    * @return
    */
-  public PinotResourceManagerResponse toggleInstance(String instanceName, 
boolean toggle, int timeOutInSeconds) {
+  private PinotResourceManagerResponse toggleInstance(String instanceName, 
boolean toggle, int timeOutInSeconds) {
 
 Review comment:
   can you rename the 'toggle' variable to 'enable'? thanks

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to