diff options
-rw-r--r-- | v3po/vpp-cfg-init/src/main/java/io/fd/honeycomb/v3po/vpp/data/init/AbstractDataTreeConverter.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/v3po/vpp-cfg-init/src/main/java/io/fd/honeycomb/v3po/vpp/data/init/AbstractDataTreeConverter.java b/v3po/vpp-cfg-init/src/main/java/io/fd/honeycomb/v3po/vpp/data/init/AbstractDataTreeConverter.java index 18c0dce59..575f1d860 100644 --- a/v3po/vpp-cfg-init/src/main/java/io/fd/honeycomb/v3po/vpp/data/init/AbstractDataTreeConverter.java +++ b/v3po/vpp-cfg-init/src/main/java/io/fd/honeycomb/v3po/vpp/data/init/AbstractDataTreeConverter.java @@ -57,10 +57,8 @@ public abstract class AbstractDataTreeConverter<O extends DataObject, C extends @Override public void close() throws Exception { LOG.debug("AbstractDataTreeConverter.close()"); - final WriteTransaction writeTx = bindingDataBroker.newWriteOnlyTransaction(); - writeTx.delete(LogicalDatastoreType.CONFIGURATION, idConfig); - writeTx.submit().checkedGet(); - LOG.info("Config initialization data for {} successfully removed.", idConfig); + // Not removing initialized data, since this works in cooperation with persistence, it could remove + // data restored by persistence or remove user configured data when shutting down HC } @Override |