Yaniv Bronhaim has uploaded a new change for review.

Change subject: core: Removing leftover of rootPassword
......................................................................

core: Removing leftover of rootPassword

On host install action (\reinstall) we validated that
rootPassword parameter is passed. This validation is a leftover of
previous implementation. Currently all parameters in reinstall action are
optional.

Change-Id: I2c6bc0343e204a41b811989d3153f83aff993e85
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1029050
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/45/21345/1

diff --git 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
index 062a35e..3c81c65 100644
--- 
a/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
+++ 
b/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
@@ -109,9 +109,6 @@
             if (action.isSetImage()) {
                 params.setoVirtIsoFile(action.getImage());
             }
-        } else {
-            validateParameters(action, "rootPassword");
-        }
         return doAction(VdcActionType.UpdateVds,
                         params,
                         action);


-- 
To view, visit http://gerrit.ovirt.org/21345
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c6bc0343e204a41b811989d3153f83aff993e85
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to