mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Use the generic Set in scheduler
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user