Michael Pasternak has posted comments on this change.

Change subject: restapi: add Force parameter to GET .../hosts/{host:id}
......................................................................


Patch Set 5: (1 inline comment)

....................................................
File 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
Line 366:     public BackendHostHooksResource getHooksResource() {
Line 367:         return inject(new BackendHostHooksResource(id));
Line 368:     }
Line 369: 
Line 370:     protected boolean isForce() {
sorry meant

BackendResource.isAsync() and not isFiltered()
Line 371:         String value = QueryHelper.getMatrixConstraint(getUriInfo(), 
FORCE_CONSTRAINT);
Line 372:         if (value == null) {
Line 373:             return false; // matrix param does not exist in URL, go 
with the default value, which is 'false'.
Line 374:         } else {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I57ad42614de63d2a4690b22445db05d75fab4185
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to