Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG 3156 : Recreating CDS should not fail
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
yang
/
config
/
distributed_datastore_provider
/
DistributedOperationalDataStoreProviderModule.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedOperationalDataStoreProviderModule.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedOperationalDataStoreProviderModule.java
index 6711a1007475d8a0cbb18ecb204a35e39491513a..08845654a5fb34ff77227eb05f8eb08ef4e51caf 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedOperationalDataStoreProviderModule.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedOperationalDataStoreProviderModule.java
@@
-27,6
+27,11
@@
public class DistributedOperationalDataStoreProviderModule extends
// add custom validation form module attributes here.
}
// add custom validation form module attributes here.
}
+ @Override
+ public boolean canReuseInstance(AbstractDistributedOperationalDataStoreProviderModule oldModule) {
+ return true;
+ }
+
@Override
public java.lang.AutoCloseable createInstance() {
@Override
public java.lang.AutoCloseable createInstance() {