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 2022/04/04 12:33:16 UTC
[pulsar] 07/15: [fix][admin-cli]: Remove the trust certs check (#14764)
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 a68f29c146ad36c12cae8a6dd606e4aa81d345b8
Author: Zixuan Liu <no...@gmail.com>
AuthorDate: Tue Mar 22 00:07:52 2022 +0800
[fix][admin-cli]: Remove the trust certs check (#14764)
(cherry picked from commit 44f92a8118e3ce0461cd4dc1736860fab77f0cae)
---
.../src/main/java/org/apache/pulsar/admin/cli/CmdClusters.java | 5 -----
1 file changed, 5 deletions(-)
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 eb1ca4f1360..d43c8496472 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
@@ -76,11 +76,6 @@ public class CmdClusters extends CmdBase {
"You must specify tls-trust-store-type, tls-trust-store and tls-trust-store-pwd"
+ " when enable tls-enable-keystore");
}
- } else {
- if (StringUtils.isBlank(clusterData.getBrokerClientTrustCertsFilePath())) {
- throw new RuntimeException("You must specify tls-trust-certs-filepath"
- + " when tls-enable-keystore is not enable");
- }
}
}
}