mirror of https://github.com/apache/cloudstack.git
CS-16096: cloudstack 3.0 UI - autoscale - fix a regression caused by a server-server side change: ad6ac9b449 (CS-15617. Changed CounterResponse to a List as queryAsyncJob expects it.) (Reviewed-by: Brian)
This commit is contained in:
parent
71dfca41a7
commit
5bd7fb6088
|
|
@ -181,7 +181,7 @@
|
|||
$(autoscaleVmGroup.scaleuppolicies[0].conditions).each(function(){
|
||||
var condition = {
|
||||
id: this.id,
|
||||
counterid: this.counter.id,
|
||||
counterid: this.counter[0].id,
|
||||
relationaloperator: this.relationaloperator,
|
||||
threshold: this.threshold
|
||||
};
|
||||
|
|
@ -196,7 +196,7 @@
|
|||
$(autoscaleVmGroup.scaledownpolicies[0].conditions).each(function(){
|
||||
var condition = {
|
||||
id: this.id,
|
||||
counterid: this.counter.id,
|
||||
counterid: this.counter[0].id,
|
||||
relationaloperator: this.relationaloperator,
|
||||
threshold: this.threshold.toString()
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue