Fix non-initialized keepalive executor when configured. 00/28500/1
authorTomas Cere <tcere@cisco.com>
Fri, 16 Oct 2015 11:27:25 +0000 (13:27 +0200)
committerTomas Cere <tcere@cisco.com>
Fri, 16 Oct 2015 11:27:25 +0000 (13:27 +0200)
Change-Id: Ia7803777e90c93adfbc11f2945a7c8617c931b94
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/netconf/sal-netconf-connector/src/main/java/org/opendaylight/controller/config/yang/md/sal/connector/netconf/NetconfConnectorModule.java

index 40e4fe233163d25d35e4ffee07baefdfb13cb3a5..64fce50cc0a435ccc0c86fc106170fddbccf33a2 100644 (file)
@@ -201,6 +201,8 @@ public final class NetconfConnectorModule extends org.opendaylight.controller.co
                     }
                 });
             }
+        } else {
+            keepaliveExecutor = getKeepaliveExecutorDependency();
         }
 
         LOG.warn("No topology defined in config, using default-shared-schema-repo");