Skip to content

Commit

Permalink
scheduler: fix UT Fail cause map iterate (#2311)
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu.wjy <[email protected]>
Co-authored-by: wangjianyu.wjy <[email protected]>
  • Loading branch information
ZiMengSheng and wangjianyu.wjy authored Jan 3, 2025
1 parent 0b71d81 commit 84cebbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/scheduler/frameworkext/topologymanager/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package topologymanager

import (
"fmt"
"sort"
"strings"

"k8s.io/klog/v2"
Expand Down Expand Up @@ -175,6 +176,7 @@ func filterProvidersHints(providersHints []map[string][]NUMATopologyHint) ([][]N
allProviderHints = append(allProviderHints, hints[resource])
}
}
sort.Strings(summary)
return allProviderHints, reasons, summary
}

Expand Down

0 comments on commit 84cebbf

Please sign in to comment.