Remove RestconfError.ErrorTag
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / jersey / providers / patch / JsonPatchStatusBodyWriter.java
index f000f7c1338f9ac5507f778c8827d3a01820cb60..d4bb1c0eaffcaa406155f81b7a6db13f862be037 100644 (file)
@@ -82,7 +82,7 @@ public class JsonPatchStatusBodyWriter extends AbstractPatchStatusBodyWriter {
         for (final RestconfError restconfError : errors) {
             jsonWriter.beginObject();
             jsonWriter.name("error-type").value(restconfError.getErrorType().elementBody());
-            jsonWriter.name("error-tag").value(restconfError.getErrorTag().getTagValue());
+            jsonWriter.name("error-tag").value(restconfError.getErrorTag().elementBody());
 
             // optional node
             if (restconfError.getErrorPath() != null) {