Change in ovirt-engine[master]: core: Initialize SparsifyImageCommand#vmsForDisk

From Arik Hadas <ahadas@redhat.com>:
Arik Hadas has submitted this change and it was merged. Change subject: core: Initialize SparsifyImageCommand#vmsForDisk ...................................................................... core: Initialize SparsifyImageCommand#vmsForDisk Initialize SparsifyImageCommand#vmsForDisk field on demand. Previously this field was always initialized to an empty list which caused SparsifyImageCommand to ignore status of VMs the disk is attached to and to fail to lock these VMs. Change-Id: I3d87eb858d144de2f4e855709b8638c783ed5640 Bug-Url: https://bugzilla.redhat.com/1431596 Signed-off-by: Shmuel Melamud <smelamud@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/SparsifyImageCommand.java 1 file changed, 17 insertions(+), 5 deletions(-) Approvals: Jenkins CI: Passed CI tests Shmuel Leib Melamud: Verified Arik Hadas: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/74842 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3d87eb858d144de2f4e855709b8638c783ed5640 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shmuel Leib Melamud <smelamud@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shmuel Leib Melamud <smelamud@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review