Jackie-Jiang commented on a change in pull request #7064: URL: https://github.com/apache/incubator-pinot/pull/7064#discussion_r663169144
########## File path: pinot-minion/src/main/java/org/apache/pinot/minion/BaseMinionStarter.java ########## @@ -240,6 +240,16 @@ public String getStatusDescription() { LOGGER.info("Pinot minion started"); } + private void updateInstanceConfigIfNeeded() { + InstanceConfig instanceConfig = HelixHelper.getInstanceConfig(_helixManager, _instanceId); + boolean updated = HelixHelper.updateHostnamePort(instanceConfig, _host, _port); + updated |= HelixHelper.addDefaultTags(instanceConfig, Review comment: Short circuit won't apply to `|` but only to `||` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org