Allon Mureinik has posted comments on this change.

Change subject: core:ExportVm.doesStorageDomainhaveSpaceForRequest
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
Line 145:             return 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_SPECIFY_DOMAIN_IS_NOT_EXPORT_DOMAIN);
Line 146:         }
Line 147:         // check destination storage have free space
Line 148:         int sizeInGB = (int) getVm().getActualDiskWithSnapshotsSize();
Line 149:         if (!doesStorageDomainhaveSpaceForRequest(getStorageDomain(), 
sizeInGB)) {
recheck your greps.

There are three definitions:
StorageDomainCommandBase, AddVmTemplateCommand (not part of the same hierarchy) 
and AddDiskToVmCommand (again, not part of the same hierarchy).

There's an additional one with a slightly different signature in 
MoveOrCopyDiskCommand that's never used and should be removed, but it's not 
relate to this patch - I'll send another one.
Line 150:             return false;
Line 151:         }
Line 152: 
Line 153:         SnapshotsValidator snapshotValidator = new 
SnapshotsValidator();


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia267125106c6465c064719c2718053644b556195
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to