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 committed by Vijay Venkatachalam
parent e20f599a23
commit 9365e5403b
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,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
};
@ -154,7 +154,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()
};