mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-05 18:14:43 +00:00
fix[net]: fixed bug in client initialization registry
This commit is contained in:
1 parent
730929fbf1
commit
7a97238496
1 file changed
+3
-1
@@ -92,8 +92,10 @@ public class ConfigManager implements IConfigManager {
|
||||
} else {
|
||||
registry = (IRegistry) Class.forName(driverClassName).getDeclaredConstructor().newInstance();
|
||||
}
|
||||
registry.start();
|
||||
} else {
|
||||
registry = new ZookeeperRegistry();
|
||||
}
|
||||
registry.start();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("registry instance err", e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user