Shubhendu Tripathi has uploaded a new change for review. Change subject: restapi: Corrected the resolve action for copy mode ......................................................................
restapi: Corrected the resolve action for copy mode Modified to correctly copy the hook content from a provided node to others in case of resolve from host content option. Earlier it was always copying the engine version of the hook content to all the nodes in case a resolve from a specific node was executed. Change-Id: I412e582addc2bcb8d7176634db7eafaa4686668b Bug-Url: https://bugzilla.redhat.com/1033772 Signed-off-by: Shubhendu Tripathi <[email protected]> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/21773/1 diff --git a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java index 884c842..52b7c32 100644 --- a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java +++ b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterHookResource.java @@ -86,7 +86,7 @@ private Response copy(Action action) { GlusterHookManageParameters params = new GlusterHookManageParameters(guid); if (action.isSetHost()) { - validateParameters(action.getHost(), "host.id|name"); + validateParameters(action.getHost(), "id|name"); Guid hostId = getHostId(action); params.setSourceServerId(hostId); } -- To view, visit http://gerrit.ovirt.org/21773 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I412e582addc2bcb8d7176634db7eafaa4686668b Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shubhendu Tripathi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
