Skip to content

Commit

Permalink
Fix isLocalRun check in PulsarAdminTool (apache#10771)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantapsody authored Jun 2, 2021
1 parent bffa595 commit 2ab0f04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public static void main(String[] args) throws Exception {
PulsarAdminTool tool = new PulsarAdminTool(properties);

int cmdPos;
for (cmdPos = 1; cmdPos < args.length; cmdPos++) {
for (cmdPos = 0; cmdPos < args.length; cmdPos++) {
if (tool.commandMap.containsKey(args[cmdPos])) {
break;
}
Expand Down

0 comments on commit 2ab0f04

Please sign in to comment.