X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frestconf%2Fimpl%2FBrokerFacade.java;h=2aa300f00eeec7c4781f0a1ca6cda166f3b9658f;hb=86e8b0bb2c9e0f10f7d679cf70495c3d4249e547;hp=1e3379cabc64edaee576662bdc5c2ec545379e66;hpb=2295d50e7212d80a9bc752f655fa66790ad45022;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/BrokerFacade.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/BrokerFacade.java index 1e3379cabc..2aa300f00e 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/BrokerFacade.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/BrokerFacade.java @@ -377,23 +377,6 @@ public class BrokerFacade { } break; case DELETE: - if (withoutError) { - try { - deleteDataWithinTransaction(patchTransaction, CONFIGURATION, patchEntity - .getTargetNode()); - editCollection.add(new PatchStatusEntity(patchEntity.getEditId(), true, null)); - } catch (final RestconfDocumentedException e) { - LOG.error("Error call http Patch operation {} on target {}", - operation, - patchEntity.getTargetNode().toString()); - - editErrors = new ArrayList<>(); - editErrors.addAll(e.getErrors()); - editCollection.add(new PatchStatusEntity(patchEntity.getEditId(), false, editErrors)); - withoutError = false; - } - } - break; case REMOVE: if (withoutError) { try {