Tal Nisan has submitted this change and it was merged.
Change subject: restapi: Do not attempt to extend a block domain if LUNs data not
supplied
......................................................................
restapi: Do not attempt to extend a block domain if LUNs data not supplied
When editing a block domain via REST, in case the storage data was not
supplied there is still a comparison between the old an new LUNs which
results in an NPE, in that case we just skip the comparison if the data
was not sent in the request
Change-Id: Ibf4b28c2dbc289b88107f1e7fdc19127fb536326
Bug-Url:
https://bugzilla.redhat.com/1115966
Signed-off-by: Tal Nisan <tnisan(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainResource.java
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Tal Nisan: Verified
Juan Hernandez: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/33524
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf4b28c2dbc289b88107f1e7fdc19127fb536326
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server