X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2FRestconfError.java;h=544a144987a68a77f9ec14e3c22d77cf1962fae8;hb=1eeb5e88a3593ebd781b733123b8e12cf4cf757c;hp=ed20bd01a5047e4d746858ff4adde4fe7de0c701;hpb=cbe83ca3074fa0182d4f079f528bb710a997ced7;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfError.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfError.java index ed20bd01a5..544a144987 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfError.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfError.java @@ -62,7 +62,7 @@ public class RestconfError { RESOURCE_DENIED("resource-denied", 409 /* Conflict */), ROLLBACK_FAILED("rollback-failed", 500 /* INTERNAL_SERVER_ERROR */), DATA_EXISTS("data-exists", 409 /* Conflict */), - DATA_MISSING("data-missing", 409 /* Conflict */), + DATA_MISSING("data-missing", 404 /* Resource Not Found */), OPERATION_NOT_SUPPORTED("operation-not-supported", 501 /* Not Implemented */), OPERATION_FAILED("operation-failed", 500 /* INTERNAL_SERVER_ERROR */), PARTIAL_OPERATION("partial-operation", 500 /* INTERNAL_SERVER_ERROR */),