Fix infinite loop in augment resolution
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / utils / parser / YangInstanceIdentifierDeserializer.java
index b3bc922b41a2e7640b230174a1efef54340d5bb9..743945ad7bce5439326b081791c82627a3090d87 100644 (file)
@@ -212,7 +212,7 @@ public final class YangInstanceIdentifierDeserializer {
         var result = found;
         while (result.isMixin()) {
             path.add(result.getIdentifier());
-            result = verifyNotNull(found.getChild(qname), "Mixin %s is missing child for %s while resolving %s",
+            result = verifyNotNull(result.getChild(qname), "Mixin %s is missing child for %s while resolving %s",
                 result, qname, found);
         }
         return result;