Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Null check on domain volume group when attempting to 
extend domain
......................................................................


restapi: Null check on domain volume group when attempting to extend domain

When editing a block domain via REST, the LUN passed in the new entity can
come either from the LUNs collection and in case it's empty from the volume
group property and it's LUNs, added a null check on the volume group since
when you do not provide LUNs it automatically falls back to volume group
which might be null

Change-Id: Ic762bdfb4c01d7b9344c94878d6662b9866a4090
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, 12 insertions(+), 2 deletions(-)

Approvals:
  Tal Nisan: Verified
  Juan Hernandez: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic762bdfb4c01d7b9344c94878d6662b9866a4090
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Tal Nisan <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[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