Kanagaraj M has posted comments on this change.
Change subject: engine: RunMultipleAction - supporting Run Only If All CanDo
Pass
......................................................................
Patch Set 3: (2 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MultipleActionsRunner.java
Line 85: }
Line 86:
Line 87: boolean canRunActions = true;
Line 88: if (isRunOnlyIfAllCanDoPass)
Line 89: {
Done
Line 90: for (VdcReturnValueBase value : returnValues) {
Line 91: if (!value.getCanDoAction()) {
Line 92: canRunActions = false;
Line 93: break;
Line 95: }
Line 96: }
Line 97:
Line 98: if (canRunActions)
Line 99: {
Done
Line 100: ThreadPoolUtil.execute(new Runnable() {
Line 101: @Override
Line 102: public void run() {
Line 103: RunCommands();
--
To view, visit http://gerrit.ovirt.org/7287
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If8f249484a451be44d3286c865806c5f8364f74a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Shireesh Anjal <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches