Piotr Kliczewski has uploaded a new change for review. Change subject: core: wrong param name for fencing policy ......................................................................
core: wrong param name for fencing policy In the api schema and API.py the fencing policy param is named policy whereas engine passes fencingPolicy so value is not properly mapped. This patch fixes the naming. Change-Id: I291eb7973afa023e2f3d49bd09b966ce6ae9e333 Signed-off-by: pkliczewski <[email protected]> --- M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/33072/1 diff --git a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java index 749ce7b..9d93c87 100644 --- a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java +++ b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/jsonrpc/JsonRpcVdsServer.java @@ -479,7 +479,7 @@ .withParameter("action", action) .withOptionalParameter("secure", secured) .withOptionalParameter("options", options) - .withOptionalParameterAsMap("fencingPolicy", fencingPolicy) + .withOptionalParameterAsMap("policy", fencingPolicy) .build(); Map<String, Object> response = new FutureMap(this.client, request).withResponseKey("power").withResponseType(String.class); -- To view, visit http://gerrit.ovirt.org/33072 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I291eb7973afa023e2f3d49bd09b966ce6ae9e333 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Piotr Kliczewski <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
