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 <[email protected]>
---
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/33498
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf4b28c2dbc289b88107f1e7fdc19127fb536326
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to