mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
修正: schedpolicies 加入的标签没有传入 params,导致动态标签不生效
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user