Change in ovirt-engine[master]: gluster: Fixing NPE in sync for empty cluster

sanjal at redhat.com sanjal at redhat.com
Thu May 16 11:55:37 UTC 2013


Shireesh Anjal has submitted this change and it was merged.

Change subject: gluster: Fixing NPE in sync for empty cluster
......................................................................


gluster: Fixing NPE in sync for empty cluster

When cluster is empty, invokeAll returns null as
an empty task list is given. Fixed code to skip this
case.

Change-Id: I7e94a11f7550b7cf5d95b44edb7a8d30bf896db8
Signed-off-by: Sahina Bose <sabose at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterHookSyncJob.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/GlusterHookSyncJobTest.java
2 files changed, 174 insertions(+), 160 deletions(-)

Approvals:
  Shireesh Anjal: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e94a11f7550b7cf5d95b44edb7a8d30bf896db8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat at redhat.com>



More information about the Engine-commits mailing list