summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java
index 7f5673caf..692131cae 100644
--- a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java
+++ b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/JettyServerStarter.java
@@ -61,8 +61,8 @@ class JettyServerStarter extends ProviderTrait<JettyServerStarter.RestconfJettyS
@Override
protected RestconfJettyServer create() {
final RestconfJettyServer jettyServer = new RestconfJettyServer(server);
- jettyServer.start();
shutdownHandler.register(RestconfJettyServer.class.getCanonicalName(), jettyServer);
+ jettyServer.start();
return jettyServer;
}