Merge pull request #675 from Zexi/fix/sched-forecast-remove-select-candidate

scheduler forecast select_candidate not add count
This commit is contained in:
yunion-ci-robot
2019-04-28 21:55:13 +08:00
committed by GitHub
-1
View File
@@ -86,7 +86,6 @@ func transToSchedForecastResult(result *core.SchedResultItemList) interface{} {
for _, candi := range output.Candidates {
if len(candi.Error) != 0 {
info, exist := getOrNewFilter("select_candidate")
info.Count++
msg := candi.Error
info.Messages = append(info.Messages, msg)
if !exist {