Change in ovirt-engine[master]: core: Check return value from getUnregisteredDisks

mlipchuk at redhat.com mlipchuk at redhat.com
Thu Apr 30 13:24:52 UTC 2015


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Check return value from getUnregisteredDisks
......................................................................


core: Check return value from getUnregisteredDisks

if GetUnregisteredDisks fails to get the imagesList from VDSM, the query
returns null.
In this patch I've added a check so in case we will get a null value for
the unregistered disks we should print an error and return an empty list
of unregistered disks

Change-Id: I9a2c2b75d7d8cea782e1b91cf5d34666642d1800
Bug-Url: https://bugzilla.redhat.com/1214408
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageHandlingCommandBase.java
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/40368
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a2c2b75d7d8cea782e1b91cf5d34666642d1800
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list