CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/8b5ee641 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/8b5ee641 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/8b5ee641 Branch: refs/heads/master Commit: 8b5ee6414df00cd5ced098179fa89504f4745418 Parents: 6dddd2d Author: Jessica Wang <[email protected]> Authored: Mon Aug 13 16:39:12 2012 -0700 Committer: Vijay Venkatachalam <[email protected]> Committed: Fri Nov 16 10:56:52 2012 +0530 ---------------------------------------------------------------------- ui/scripts/autoscaler.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/8b5ee641/ui/scripts/autoscaler.js ---------------------------------------------------------------------- diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js index 367719a..2a4938c 100644 --- a/ui/scripts/autoscaler.js +++ b/ui/scripts/autoscaler.js @@ -752,7 +752,7 @@ return; } if(args.data.scaleUpDuration < args.data.interval) { - args.response.error("Duration of Scale Up Policy can not be less than Polling Interval."); + args.response.error("Duration of Scale Up Policy must be greater than or equal to Polling Interval."); return; } if(scaleUpData.length == 0) { @@ -770,7 +770,7 @@ return; } if(args.data.scaleDownDuration < args.data.interval) { - args.response.error("Duration of Scale Down Policy can not be less than Polling Interval."); + args.response.error("Duration of Scale Down Policy must be greater than or equal to Polling Interval."); return; } if(scaleDownData.length == 0) {
