Omer Frenkel has posted comments on this change.

Change subject: core: [cleanup] introduce GetAllFromExportDomainQuery class
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/GetAllFromExportDomainQuery.java
Line 61:         }
Line 62:     }
Line 63: 
Line 64:     protected boolean isValidExportDomain() {
Line 65:         StorageDomain domain = 
DbFacade.getInstance().getStorageDomainDao().getForStoragePool(
i think you removed the wrong check, getting domain by domain and pool 
implicitly verifies that the domain actually attached to this pool
Line 66:                 getParameters().getStorageDomainId(),
Line 67:                 getParameters().getStoragePoolId());
Line 68:         return domain != null && domain.getStorageDomainType() == 
StorageDomainType.ImportExport;
Line 69:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2544cb879898ef90d64feb8a16dcfb8cf103b409
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to