Omer Frenkel has posted comments on this change.

Change subject: core: Added a query to return the number of VMs in a cluster
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/25858/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetNumberOfVmsInVdsGroupByVdsGroupIdQuery.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetNumberOfVmsInVdsGroupByVdsGroupIdQuery.java:

Line 8:     }
Line 9: 
Line 10:     @Override
Line 11:     protected void executeQueryCommand() {
Line 12:         Integer numOfVms = 
getDbFacade().getVdsGroupDao().getVmsCountByClusterId(getParameters().getId());
why integer and not int? i dont think this can return null
Line 13:         getQueryReturnValue().setReturnValue(numOfVms);
Line 14:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I04b7bf0c6edf4e55d0e5d7ce5e7030ba974de5e2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to