Fix `isLocalRun` check in `PulsarAdminTool`
@@ -301,7 +301,7 @@ public class PulsarAdminTool {
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;
}
