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:
Jessica Wang 2012-08-20 13:56:46 -07:00
parent 71dfca41a7
commit 5bd7fb6088
1 changed files with 2 additions and 2 deletions

View File

@ -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()
};