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(a)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(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>