We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f30317 commit 7611df5Copy full SHA for 7611df5
src/common/codeine/AbstractCodeineBootstrap.java
@@ -70,6 +70,7 @@ protected static void boot(String component, Class<? extends AbstractCodeineBoot
70
protected void registerInConsul(String name, int port) {
71
if (injector.getInstance(GlobalConfigurationJsonStore.class).get().consul_registration()) {
72
ConsulRegistrator consulRegistrator = injector.getInstance(ConsulRegistrator.class);
73
+ consulRegistrator.init();
74
if (consulRegistrator.consulExists()) {
75
consulRegistrator.register(name, port);
76
Runtime.getRuntime().addShutdownHook(new Thread(() -> deregisterFromConsul(name)));
0 commit comments