From e5b5a33c1e8a84415de9451dcb5e96c2214565a4 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Fri, 22 Mar 2019 12:12:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3:=20schedpolicies=20=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E6=A0=87=E7=AD=BE=E6=B2=A1=E6=9C=89=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=20params=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/schedpolicies.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/compute/models/schedpolicies.go b/pkg/compute/models/schedpolicies.go index 5f2c957342..4a69768d33 100644 --- a/pkg/compute/models/schedpolicies.go +++ b/pkg/compute/models/schedpolicies.go @@ -209,6 +209,7 @@ func ApplySchedPolicies(params *jsonutils.JSONDict) *jsonutils.JSONDict { newSchedtags := jsonutils.Marshal(schedtags) log.Infof("updated sched tag %s", newSchedtags) + params.Set("aggregate_strategy", newSchedtags) ret := jsonutils.NewDict() ret.Add(newSchedtags, "aggregate_strategy")