Skip to content

Commit d091e2e

Browse files
author
Arjun Surendra
authored
Revert "Fix Bug: Add authInfo before listNodeEntries"
1 parent 3cba0eb commit d091e2e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/com/deem/zkui/utils/ZooKeeperUtil.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,6 @@ private void createIfDoesntExist(String path, byte[] data, boolean force, ZooKee
249249
}
250250

251251
public ZKNode listNodeEntries(ZooKeeper zk, String path, String authRole) throws KeeperException, InterruptedException {
252-
//Add auth info
253-
for (ACL acl : defaultAcl) {
254-
String scheme=acl.getId().getScheme();
255-
String auth=acl.getId().getId();
256-
zk.addAuthInfo(scheme,auth.getBytes());
257-
}
258-
259252
List<String> folders = new ArrayList<>();
260253
List<LeafBean> leaves = new ArrayList<>();
261254

0 commit comments

Comments
 (0)