rdhabalia opened a new pull request #5314: [pulsar-broker] fix ns-isolation api to fetch policy for specific broker URL: https://github.com/apache/pulsar/pull/5314 ### Motivation Right now, `./pulsar-admin ns-isolation-policy broker <cluster> --broker <broker-name>` is broken because broker incorrectly validates broker: - broker validates that given broker is part of `availableBroker` list which is unnecessary and incorrect because `availableBroker` contains `broker:port` which will always fail the validation and this command never gives any correct result. ### Modification - remove unnecessary validation - add more ns-isolation data into response. eg: `policyName` and `isPrimary` broker.
---------------------------------------------------------------- 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