Michael Pasternak has posted comments on this change.
Change subject: restapi: Action methods return Response instead of Action
(#878353)
......................................................................
Patch Set 1: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendApiResource.java
Line 451: }
Line 452:
Line 453: @Override
Line 454: public Action reloadConfigurations(Action action) {
Line 455: return (Action) doAction(VdcActionType.ReloadConfigurations,
Please changing doAction() to return Action instead of fetching entity in every
doAction() call.
Line 456: new VdcActionParametersBase(),
Line 457: action).getEntity();
Line 458: }
--
To view, visit http://gerrit.ovirt.org/9501
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I81bef482a5226818f252c5f8377ed4f2f389744d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches