Omer Frenkel has posted comments on this change.

Change subject: engine: Add Quota helper class
......................................................................


Patch Set 2: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/QuotaHelper.java
Line 47:     public static Guid getQuotaIdToConsume(Guid quotaId, NGuid 
storagePoolId) {
i didnt uderstand why quotaId is a parameter here

Line 119:         if (getQuotaDao().getQuotaByQuotaName(quota.getQuotaName(), 
quota.getStoragePoolId()) != null) {
if this is called on edit, then this check will fail.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie67aad0501bbec91e47740e536eb371b62f42d44
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to