yuruguo commented on a change in pull request #12351:
URL: https://github.com/apache/pulsar/pull/12351#discussion_r749094546



##########
File path: 
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java
##########
@@ -325,6 +325,18 @@ void run() throws PulsarAdminException {
         }
     }
 
+    @Parameters(commandDescription = "Remove replication clusters for a 
namespace")
+    private class RemoveReplicationClusters extends CliCommand {
+        @Parameter(description = "tenant/namespace", required = true)
+        private java.util.List<String> params;

Review comment:
       The `params` represents the `tenant/namespace`, we need to remove 
replication clusters on it, although it is a `List` type but actually only 
allows `single` value, as below:
   
https://github.com/apache/pulsar/blob/10818e8e39b9f039793b8534da0252f2f4c91a61/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CliCommand.java#L47-L48
   
https://github.com/apache/pulsar/blob/10818e8e39b9f039793b8534da0252f2f4c91a61/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CliCommand.java#L122-L128




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to