From 8b5ee6414df00cd5ced098179fa89504f4745418 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 13 Aug 2012 16:39:12 -0700 Subject: [PATCH] CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval. --- ui/scripts/autoscaler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js index 367719a3c8d..2a4938c5136 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) {