You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2021/07/23 02:32:09 UTC

[pulsar] 01/12: fix add listenerName for geo-replicator (#10779)

This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch branch-2.8
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 6cd1af080644481345e12ee3e96e0ef9ae16085a
Author: WangJialing <65...@users.noreply.github.com>
AuthorDate: Wed Jul 14 14:59:09 2021 +0800

    fix add listenerName for geo-replicator (#10779)
    
    ### Motivation
    
    fix mistake when resolve the conflicts in #10751
    
    (cherry picked from commit 47b349530391b609a82992f747a44098e15b8c8f)
---
 .../src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java
index e3b3c5e..eb1ca4f 100644
--- a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java
+++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java
@@ -311,7 +311,7 @@ public class CmdClusters extends CmdBase {
         protected String brokerClientTrustCertsFilePath;
 
         @Parameter(names = "--listener-name", description = "listenerName when client would like to connect to cluster", required = false)
-        private String listenerName;
+        protected String listenerName;
 
         @Parameter(names = "--cluster-config-file", description = "The path to a YAML config file specifying the "
                 + "cluster's configuration")