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(a)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(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server