Do not pass outer model context
[netconf.git] / restconf / restconf-nb / src / main / java / org / opendaylight / restconf / nb / rfc8040 / rests / services / impl / RestconfInvokeOperationsServiceImpl.java
index 24387b0f52473c967ca88327dc0279c4921dcbeb..a25538794aee65d55dc668d8eb6fcac8f0678d58 100644 (file)
@@ -98,9 +98,8 @@ public class RestconfInvokeOperationsServiceImpl implements RestconfInvokeOperat
             } else if (DEVICE_NOTIFICATION_NAMESPACE.equals(rpcName.getModule())) {
                 // FIXME: this should be a match on RPC QName
                 final String baseUrl = streamUtils.prepareUriByStreamName(uriInfo, "").toString();
-                future = Futures.immediateFuture(
-                    CreateStreamUtil.createDeviceNotificationListener(baseUrl, payload, schemaContext, streamUtils,
-                        mountPointService));
+                future = Futures.immediateFuture(CreateStreamUtil.createDeviceNotificationListener(baseUrl, payload,
+                    streamUtils, mountPointService));
             } else {
                 future = invokeRpc((ContainerNode)payload.getData(), rpcName, rpcService);
             }