Daniel Erez has posted comments on this change.

Change subject: core: Fix empty quota validation in edit disk
......................................................................


Patch Set 1: Looks good to me, but someone else must approve

(1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
Line 319: 
Line 320: 
Line 321:             if (oldDiskImage.getQuotaId() == null || 
Guid.Empty.equals(oldDiskImage.getQuotaId())) { // empty old quota
Line 322:                 list.add(consumptionRequest);
Line 323:             } else {                                                  
                               // non-empty old quota
Convert to 'else if'.
Line 324:                 if 
(!oldDiskImage.getQuotaId().equals(newDiskImage.getQuotaId())) {                
  // different new quota
Line 325:                     list.add(consumptionRequest);
Line 326:                     list.add(releaseRequest);
Line 327:                 }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I697171e9c47499048d5a735c0f0e5a253b41892a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ofri masad <oma...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: ofri masad <oma...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to