Registering Distributed Datastore for SchemaContext changes
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / distributed_datastore_provider / DistributedConfigDataStoreProviderModule.java
index ad2fb02a30d3fe332840f6866063882105a7afcf..665cb2d44148a6a3b6bb41d403e54b95cfe45363 100644 (file)
@@ -25,6 +25,7 @@ public class DistributedConfigDataStoreProviderModule extends org.opendaylight.c
 
 
       final DistributedDataStore configDatastore = new DistributedDataStore(actorSystem, "config");
+      getSchemaServiceDependency().registerSchemaServiceListener(configDatastore);
 
       final class AutoCloseableDistributedDataStore implements AutoCloseable {