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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to