You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/08/14 01:42:49 UTC
git commit: CS-15955: cloudstack 3.0 UI - autoscale - change
validation error message of comparison of scale policy duration and polling
interval.
Updated Branches:
refs/heads/autoscale 27796a657 -> af4aaecd4
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/af4aaecd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/af4aaecd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/af4aaecd
Branch: refs/heads/autoscale
Commit: af4aaecd4dfaaf56ee30c51fd41b5fde5d181879
Parents: 27796a6
Author: Jessica Wang <je...@citrix.com>
Authored: Mon Aug 13 16:39:12 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Mon Aug 13 16:42:17 2012 -0700
----------------------------------------------------------------------
ui/scripts/autoscaler.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/af4aaecd/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) {