mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-18 06:27:01 +00:00
perf[registry]: custom root path
This commit is contained in:
@@ -130,7 +130,7 @@ public class ZookeeperRegistry implements IRegistry {
|
||||
}
|
||||
|
||||
if (StringUtils.isNotBlank(registryConfig.getPath())) {
|
||||
rootPath = registryConfig.getPath();
|
||||
rootPath = StringUtils.trim(registryConfig.getPath());
|
||||
providerRootPath = rootPath + "/provider";
|
||||
consumerRootPath = rootPath + "/consumer";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user