mirror of https://github.com/apache/cloudstack.git
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:
parent
52830fa544
commit
0582f287e3
|
|
@ -747,7 +747,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) {
|
||||
|
|
@ -765,7 +765,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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue