CS-15955: cloudstack 3.0 UI - autoscale - change validation error message of comparison of scale policy duration and polling interval.

This commit is contained in:
Jessica Wang 2012-08-13 16:39:12 -07:00 committed by Vijay Venkatachalam
parent 6dddd2d7ae
commit 8b5ee6414d

View File

@ -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) {