Change in ovirt-engine[master]: restapi: Don't pass type when updating storage-domain

oliel at redhat.com oliel at redhat.com
Tue Jul 31 10:11:40 UTC 2012


Ori Liel has submitted this change and it was merged.

Change subject: restapi: Don't pass type when updating storage-domain
......................................................................


restapi: Don't pass type when updating storage-domain

This patch solves a bug where if user supplied
<type>data</type> to update of a storage-domain,
the operation would fail even if the SD is already
a data SD (meaning no update needs to be done

Change-Id: I04beececba4b411c1ec28c77fa3e1e42505298d3
Signed-off-by: Ori Liel <oliel at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Ori Liel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I04beececba4b411c1ec28c77fa3e1e42505298d3
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list