mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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
6dddd2d7ae
commit
8b5ee6414d
@ -752,7 +752,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(args.data.scaleUpDuration < args.data.interval) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if(scaleUpData.length == 0) {
|
if(scaleUpData.length == 0) {
|
||||||
@ -770,7 +770,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(args.data.scaleDownDuration < args.data.interval) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if(scaleDownData.length == 0) {
|
if(scaleDownData.length == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user