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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Jun 3 08:08:35 UTC 2015


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 at 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 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: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list