Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: avoid npe on vm disk creation without domain
......................................................................
restapi: avoid npe on vm disk creation without domain
Modified 'BackendVmDisksResource -> add()' to avoid an NPE
when creating a disk without a specified storage domain.
Change-Id: I34eaeec901ebcdbaaf49f4224eb1f1dfa4279cb1
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/BackendVmDisksResource.java
1 file changed, 11 insertions(+), 4 deletions(-)
Approvals:
Juan Hernandez: Looks good to me, approved
Daniel Erez: Verified
--
To view, visit
https://gerrit.ovirt.org/40826
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I34eaeec901ebcdbaaf49f4224eb1f1dfa4279cb1
Gerrit-PatchSet: 2
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: automation(a)ovirt.org