Roy Golan has posted comments on this change.

Change subject: Engine: Scheduling-policy removal error message correction
......................................................................


Patch Set 2: Code-Review-1

(1 comment)

https://gerrit.ovirt.org/#/c/38574/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/commands/RemoveClusterPolicyCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/commands/RemoveClusterPolicyCommand.java:

Line 16:         if (!checkRemoveEditValidations()) {
Line 17:             return false;
Line 18:         }
Line 19:         if 
(SchedulingManager.getInstance().getClustersByClusterPolicyId(getParameters().getClusterPolicyId()).size()
 > 0) {
Line 20:             return 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_CLUSTER_POLICY_INUSE);
store the clusters list and pass it to the CAN DO so the users would know better
Line 21:         }
Line 22:         return true;
Line 23:     }
Line 24: 


-- 
To view, visit https://gerrit.ovirt.org/38574
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6a95c3a973b8ba9053727009983480ce79119f83
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dudi Maroshi <[email protected]>
Gerrit-Reviewer: Dudi Maroshi <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Roy Golan <[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