qqu0127 commented on code in PR #2032:
URL: https://github.com/apache/helix/pull/2032#discussion_r848770555
##########
helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java:
##########
@@ -138,12 +149,10 @@ public static boolean isAlive(HelixDataAccessor
dataAccessor, String instanceNam
* Method to check if the instance is assigned at least 1 resource, not in a
idle state;
* Independent of the instance alive/enabled status
* @param dataAccessor
- * @param clusterId
* @param instanceName
* @return
*/
- public static boolean hasResourceAssigned(HelixDataAccessor dataAccessor,
String clusterId,
- String instanceName) {
+ public static boolean hasResourceAssigned(HelixDataAccessor dataAccessor,
String instanceName) {
Review Comment:
Good point, updated. 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]