BindingGenerator v1 "copy-paste" bug in RPCs
[mdsal.git] / binding / mdsal-binding-generator-impl / src / main / java / org / opendaylight / yangtools / sal / binding / yang / types / TypedefResolver.java
index 9d9aad11f9e4412585c16cbc70a7bcf4bef9c808..e106b89d748b43c561be11f2db4ae6c1f040dc86 100644 (file)
@@ -45,8 +45,8 @@ final class TypedefResolver {
             if (input != null) {
                 fillRecursively(ret, input);
             }
-            ContainerSchemaNode output = rpcDefinition.getInput();
-            if (input != null) {
+            ContainerSchemaNode output = rpcDefinition.getOutput();
+            if (output != null) {
                 fillRecursively(ret, output);
             }
         }