cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: cloudstack 3.0 UI - autoscale - configure AutoScale - resolve an error returned by updateAutoScaleVmGroup API "Only scaleup policies can be specified in scaleuppolicyids".
Date Wed, 08 Aug 2012 17:41:50 GMT
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 <jessica.wang@citrix.com>
Authored: Tue Aug 7 15:31:56 2012 -0700
Committer: Jessica Wang <jessica.wang@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({


Mime
View raw message