Skip to content

Commit

Permalink
Merge pull request #27 from DeemOpen/revert-16-master
Browse files Browse the repository at this point in the history
Revert "Fix Bug: Add authInfo before listNodeEntries"
  • Loading branch information
Arjun Surendra authored Feb 20, 2017
2 parents 3cba0eb + d091e2e commit dafbd30
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/com/deem/zkui/utils/ZooKeeperUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,6 @@ private void createIfDoesntExist(String path, byte[] data, boolean force, ZooKee
}

public ZKNode listNodeEntries(ZooKeeper zk, String path, String authRole) throws KeeperException, InterruptedException {
//Add auth info
for (ACL acl : defaultAcl) {
String scheme=acl.getId().getScheme();
String auth=acl.getId().getId();
zk.addAuthInfo(scheme,auth.getBytes());
}

List<String> folders = new ArrayList<>();
List<LeafBean> leaves = new ArrayList<>();

Expand Down

0 comments on commit dafbd30

Please sign in to comment.