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 <de...@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 <de...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to