Bug 3427 - Websockets: Cannot create stream if path contains predicates
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / RestconfImpl.java
index c329f525a952d162eb96c5ba960dc002ecf3f9cc..08ba91fe8553970542440d36710112774bd659f9 100644 (file)
@@ -568,8 +568,7 @@ public class RestconfImpl implements RestconfService {
                 .withChild(ImmutableNodes.leafNode(streamNameQname, streamName)).build();
 
         if (!Notificator.existListenerFor(streamName)) {
-            final YangInstanceIdentifier normalizedPathIdentifier = controllerContext.toNormalized(pathIdentifier);
-            Notificator.createListener(normalizedPathIdentifier, streamName);
+            Notificator.createListener(pathIdentifier, streamName);
         }
 
         final DOMRpcResult defaultDOMRpcResult = new DefaultDOMRpcResult(output);