summaryrefslogtreecommitdiffstats
path: root/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java
diff options
context:
space:
mode:
Diffstat (limited to 'infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java')
-rw-r--r--infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java b/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java
index 01f57ed73..d9a85cce1 100644
--- a/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java
+++ b/infra/northbound/netconf/src/main/java/io/fd/honeycomb/northbound/netconf/NetconfModule.java
@@ -122,7 +122,7 @@ public class NetconfModule extends NorthboundPrivateModule<NetconfConfiguration>
// Create HC notification manager + HC2Netconf translator
bind(NotificationCollector.class).toProvider(HoneycombNotificationManagerProvider.class).in(Singleton.class);
bind(HoneycombNotification2NetconfProvider.HoneycombNotification2Netconf.class)
- .toProvider(HoneycombNotification2NetconfProvider.class).in(Singleton.class);
+ .toProvider(HoneycombNotification2NetconfProvider.class).asEagerSingleton();
expose(HoneycombNotification2NetconfProvider.HoneycombNotification2Netconf.class);
configureServer();