Fix typo in util.go

This commit is contained in:
Alexander Minbaev 2021-02-25 00:54:37 -06:00
parent 27c89b9aec
commit 5b73122105

View File

@ -80,7 +80,7 @@ func mustSetupScheduler() (util.ShutdownFunc, coreinformers.PodInformer, clients
}
// Returns the list of scheduled pods in the specified namespaces.
// Note that no namespces specified matches all namespaces.
// Note that no namespaces specified matches all namespaces.
func getScheduledPods(podInformer coreinformers.PodInformer, namespaces ...string) ([]*v1.Pod, error) {
pods, err := podInformer.Lister().List(labels.Everything())
if err != nil {