Bump upstreams
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / NetconfStateSchemas.java
index 3061b8d17052d4a19ec0dbe2d2cd083f583302e9..75bd5a0d059f49ba15b871fbf8290681dad61510 100644 (file)
@@ -143,13 +143,13 @@ public final class NetconfStateSchemas implements NetconfDeviceSchemas {
             return EMPTY;
         }
 
-        if (!schemasNodeResult.getErrors().isEmpty()) {
+        if (!schemasNodeResult.errors().isEmpty()) {
             LOG.warn("{}: Unable to detect available schemas, get to {} failed, {}",
-                    id, STATE_SCHEMAS_IDENTIFIER, schemasNodeResult.getErrors());
+                    id, STATE_SCHEMAS_IDENTIFIER, schemasNodeResult.errors());
             return EMPTY;
         }
 
-        final Optional<? extends NormalizedNode> optSchemasNode = findSchemasNode(schemasNodeResult.getResult(),
+        final Optional<? extends NormalizedNode> optSchemasNode = findSchemasNode(schemasNodeResult.value(),
                 schemaContext);
         if (optSchemasNode.isEmpty()) {
             LOG.warn("{}: Unable to detect available schemas, get to {} was empty", id, STATE_SCHEMAS_IDENTIFIER);