Change in ovirt-engine[master]: restapi: avoid npe on vm disk creation without domain

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed May 13 07:40:00 UTC 2015


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 at 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 at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list