-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improve][cli] Add current option in the Clusters list cmd #21139
Conversation
Could you please add test to cover this change? :) |
Added |
void run() throws PulsarAdminException { | ||
print(getAdmin().clusters().getClusters()); | ||
java.util.List<String> clusters = getAdmin().clusters().getClusters(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java.util.List<String> clusters = getAdmin().clusters().getClusters(); | |
List<String> clusters = getAdmin().clusters().getClusters(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, duplicated name with this Class. So need to add package prefix.
Fixes #20581
PIP: #20614
Documentation
doc
doc-required
doc-not-needed
doc-complete