RuiLi8080 commented on a change in pull request #3243: [STORM-3616] add optional flag to fail upload-credentials cmd if no creds were uploaded URL: https://github.com/apache/storm/pull/3243#discussion_r402343950
########## File path: storm-client/src/jvm/org/apache/storm/StormSubmitter.java ########## @@ -126,7 +127,7 @@ public static void pushCredentials(String name, Map<String, Object> topoConf, Ma * @throws NotAliveException if the topology is not alive * @throws InvalidTopologyException if any other error happens */ - public static void pushCredentials(String name, Map<String, Object> topoConf, Map<String, String> credentials, String expectedUser) + public static boolean pushCredentials(String name, Map<String, Object> topoConf, Map<String, String> credentials, String expectedUser) Review comment: Fixed ---------------------------------------------------------------- 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