mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-25 21:59:38 +00:00
fix[net]: fixed bug in client initialization registry
This commit is contained in:
@@ -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