Automatic merge from release/2.6.0 -> release/2.7.0

* commit '1ae5cf6b33ebe77a262f411ad4e52871c0d51b3f':
  修正: schedpolicies 加入的标签没有传入 params,导致动态标签不生效
This commit is contained in:
邱剑
2019-03-22 15:35:54 +08:00
+1
View File
@@ -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")