mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Fix typo in util.go
This commit is contained in:
parent
27c89b9aec
commit
5b73122105
@ -80,7 +80,7 @@ func mustSetupScheduler() (util.ShutdownFunc, coreinformers.PodInformer, clients
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Returns the list of scheduled pods in the specified namespaces.
|
// 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) {
|
func getScheduledPods(podInformer coreinformers.PodInformer, namespaces ...string) ([]*v1.Pod, error) {
|
||||||
pods, err := podInformer.Lister().List(labels.Everything())
|
pods, err := podInformer.Lister().List(labels.Everything())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user