You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2016/02/24 17:17:30 UTC
[20/27] storm git commit: resolve my little fault
resolve my little fault
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/b7bc9bf9
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/b7bc9bf9
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/b7bc9bf9
Branch: refs/heads/master
Commit: b7bc9bf9bd0793f2acbf158651e3200b30f97d99
Parents: cc1f6d7
Author: xiaojian.fxj <xi...@alibaba-inc.com>
Authored: Sun Feb 21 10:30:05 2016 +0800
Committer: xiaojian.fxj <xi...@alibaba-inc.com>
Committed: Sun Feb 21 10:30:05 2016 +0800
----------------------------------------------------------------------
storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/b7bc9bf9/storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java b/storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java
index aae4231..1095fff 100644
--- a/storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java
+++ b/storm-core/src/jvm/org/apache/storm/cluster/ClusterUtils.java
@@ -94,7 +94,7 @@ public class ClusterUtils {
public static List<ACL> mkTopoOnlyAcls(Map topoConf) throws NoSuchAlgorithmException {
List<ACL> aclList = null;
String payload = (String) topoConf.get(Config.STORM_ZOOKEEPER_TOPOLOGY_AUTH_PAYLOAD);
- if (Utils.isZkAuthenticationConfiguredStormServer(topoConf)) {
+ if (Utils.isZkAuthenticationConfiguredTopology(topoConf)) {
aclList = new ArrayList<>();
ACL acl1 = ZooDefs.Ids.CREATOR_ALL_ACL.get(0);
aclList.add(acl1);