Bump upstreams
[netconf.git] / plugins / netconf-client-mdsal / src / main / java / org / opendaylight / netconf / client / mdsal / spi / NetconfDeviceMount.java
index 0be46207c1a3300c53f66c264c20209e24013513..895c8d5231dc5f469b31b86e104fa20c31a83052 100644 (file)
@@ -64,7 +64,7 @@ public class NetconfDeviceMount implements AutoCloseable {
         checkState(topologyRegistration == null, "Already initialized");
 
         final var mountBuilder = mountService.createMountPoint(mountPath);
-        mountBuilder.addService(DOMSchemaService.class, FixedDOMSchemaService.of(() -> initialCtx));
+        mountBuilder.addService(DOMSchemaService.class, new FixedDOMSchemaService(initialCtx));
 
         final var rpcs = services.rpcs();
         mountBuilder.addService(NetconfRpcService.class, rpcs);