Change in ovirt-engine[master]: core: Add a multi argument constructor in DiskImagesValidator.

amureini at redhat.com amureini at redhat.com
Mon Oct 31 10:34:07 UTC 2016


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Add a multi argument constructor in DiskImagesValidator.
......................................................................


core: Add a multi argument constructor in DiskImagesValidator.

Currently many clients of DiskImagesValidator use it for a single
DiskImage, manipulating the disk image sent to a List in order to use
it.

Add a multi argument constructor to DiskImagesValidator, so it can be
used for a small amount of disk images, or a single one.

Change-Id: Id8562b7a00386c5180cb8b4499de0f7e33c72de9
Signed-off-by: Amit Aviram <aaviram at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/GetDiskAlignmentCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/RemoveDiskCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/UpdateVmDiskCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/repoimage/ExportRepoImageCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/storage/DiskImagesValidator.java
5 files changed, 10 insertions(+), 6 deletions(-)

Approvals:
  Amit Aviram: Verified
  Allon Mureinik: Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/63511
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id8562b7a00386c5180cb8b4499de0f7e33c72de9
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list