fantapsody opened a new pull request #10771: URL: https://github.com/apache/pulsar/pull/10771
### Motivation I was trying to debug a sink connector locally using `sinks localrun` command and seems the condition `isLocalRun` was not checked properly because `args` was shifted at the beginning of the `main` method without changing the initial `cmdPos` in a previous PR https://github.com/apache/pulsar/commit/232b32439687995dd3102d8c281cf50b7b91e0bf#diff-c349b18c29ddc6c10d7665a454c001515325943ea1f3315d07b3155f50b1ccafR281. ### Modifications Initialize `cmdPos` at 0 rather than 1. -- 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: [email protected]
