You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/08/08 19:41:50 UTC
git commit: cloudstack 3.0 UI - autoscale - configure AutoScale -
resolve an error returned by updateAutoScaleVmGroup API "Only scaleup
policies can be specified in scaleuppolicyids".
Updated Branches:
refs/heads/autoscale 11068b594 -> dcae4e810
cloudstack 3.0 UI - autoscale - configure AutoScale - resolve an error returned by updateAutoScaleVmGroup API "Only scaleup policies can be specified in scaleuppolicyids".
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/dcae4e81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/dcae4e81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/dcae4e81
Branch: refs/heads/autoscale
Commit: dcae4e810bf045ff8b710057812fe790b79fe236
Parents: 11068b5
Author: Jessica Wang <je...@citrix.com>
Authored: Tue Aug 7 15:31:56 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Wed Aug 8 10:41:15 2012 -0700
----------------------------------------------------------------------
ui/scripts/autoscaler.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/dcae4e81/ui/scripts/autoscaler.js
----------------------------------------------------------------------
diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js
index 5b01e55..db708e4 100644
--- a/ui/scripts/autoscaler.js
+++ b/ui/scripts/autoscaler.js
@@ -1251,7 +1251,9 @@
id: args.context.originalAutoscaleData.context.autoscaleVmGroup.id,
minmembers: args.data.minInstance,
maxmembers: args.data.maxInstance,
- interval: args.data.interval
+ interval: args.data.interval,
+ scaleuppolicyids: args.context.originalAutoscaleData.scaleUpPolicy.id,
+ scaledownpolicyids: args.context.originalAutoscaleData.scaleDownPolicy.id
};
$.ajax({