Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: avoid npe on floating disk creation without domain
......................................................................
restapi: avoid npe on floating disk creation without domain
Modified 'BackendDisksResource -> add()' to avoid an NPE
when creating a disk without a specified storage domain
(similar to
https://gerrit.ovirt.org/40826/).
Change-Id: I2156d14ec6dc818ab3d0e1a76616d829ac8637c5
Bug-Url:
https://bugzilla.redhat.com/1220824
Signed-off-by: Daniel Erez <derez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDisksResource.java
1 file changed, 9 insertions(+), 3 deletions(-)
Approvals:
Sandro Bonazzola: Looks good to me, but someone else must approve
Simone Tiraboschi: Looks good to me, but someone else must approve
Juan Hernandez: Looks good to me, approved
Daniel Erez: Verified
Jenkins CI: Verified; Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/41621
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2156d14ec6dc818ab3d0e1a76616d829ac8637c5
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org