Use the generic Set in scheduler

This commit is contained in:
sarab
2023-03-27 13:16:13 +05:30
parent 8f15859afc
commit 8d18ae6fc2
50 changed files with 348 additions and 346 deletions

View File

@@ -641,7 +641,7 @@ type Handle interface {
type PreFilterResult struct {
// The set of nodes that should be considered downstream; if nil then
// all nodes are eligible.
NodeNames sets.String
NodeNames sets.Set[string]
}
func (p *PreFilterResult) AllNodes() bool {