Eliminate HandlingPriority.CANNOT_HANDLE
[netconf.git] / plugins / netconf-server-mdsal / src / main / java / org / opendaylight / netconf / server / mdsal / operations / RuntimeRpc.java
index db2b4fe2d19c1cb1216cef5e12452419be0bdc4c..2c5b8d6e0ff7f40698f3bcf950f19cd8423e2f66 100644 (file)
@@ -79,7 +79,7 @@ public final class RuntimeRpc extends AbstractSingletonNetconfOperation {
             .flatMap(module -> getRpcDefinitionFromModule(module, xmlNamespace, netconfOperationName));
         if (rpcDef.isEmpty()) {
             LOG.debug("Cannot handle rpc: {}, {}", netconfOperationName, namespace);
-            return HandlingPriority.CANNOT_HANDLE;
+            return null;
         }
         return HandlingPriority.HANDLE_WITH_DEFAULT_PRIORITY;
     }