Change in ovirt-engine[master]: core: avoid NPE in RecoveryStoragePool command

laravot at redhat.com laravot at redhat.com
Mon Jun 2 15:09:29 UTC 2014


Liron Ar has submitted this change and it was merged.

Change subject: core: avoid NPE in RecoveryStoragePool command
......................................................................


core: avoid NPE in RecoveryStoragePool command

getStoragePool() might return null which will cause to NPE, this patch
set this check to occur before accessing the storage pool properties.

Change-Id: Ie82c2050989c3ec34ad5ff9f23f853e1894c7ecd
Signed-off-by: Liron Aravot <laravot at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RecoveryStoragePoolCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Liron Ar: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/10577
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie82c2050989c3ec34ad5ff9f23f853e1894c7ecd
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list