You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2018/09/28 15:46:46 UTC
[aries-rsa] 03/03: ARIES-1839 - Fix createBasePath to not create
invalid base path
This is an automated email from the ASF dual-hosted git repository.
cschneider pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-rsa.git
commit 8190c9bbb8f28fb816667d6ba6c140bd6d9ea56c
Author: Christian Schneider <cs...@adobe.com>
AuthorDate: Fri Sep 28 17:46:26 2018 +0200
ARIES-1839 - Fix createBasePath to not create invalid base path
---
.../rsa/discovery/zookeeper/repository/ZookeeperEndpointRepository.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/repository/ZookeeperEndpointRepository.java b/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/repository/ZookeeperEndpointRepository.java
index 9eec4a7..4f298ef 100644
--- a/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/repository/ZookeeperEndpointRepository.java
+++ b/discovery/zookeeper/src/main/java/org/apache/aries/rsa/discovery/zookeeper/repository/ZookeeperEndpointRepository.java
@@ -152,7 +152,7 @@ public class ZookeeperEndpointRepository implements Closeable, Watcher {
}
private void createBasePath() throws KeeperException, InterruptedException {
- String path = ZookeeperEndpointRepository.getZooKeeperPath(PATH_PREFIX);
+ String path = ZookeeperEndpointRepository.getZooKeeperPath("");
createPath(path);
}