Change in ovirt-engine[master]: core: fix NPE in VdsUpdateRunTimeInfo

oourfali at redhat.com oourfali at redhat.com
Thu Aug 15 06:46:20 UTC 2013


Oved Ourfali has submitted this change and it was merged.

Change subject: core: fix NPE in VdsUpdateRunTimeInfo
......................................................................


core: fix NPE in VdsUpdateRunTimeInfo

When a disk reported by VDSM doesn't exist in the engine, it causes NPE
when updating the disk statistics. Fixing it to check first if the
returned DB disk is null.

Change-Id: I9a3a02485766253fa63eb3260f60b83899bfd317
Signed-off-by: Oved Ourfali <oourfali at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a3a02485766253fa63eb3260f60b83899bfd317
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list