mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 14:41:10 +01:00
pkg/descheduler/pod: fix typo
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
This commit is contained in:
@@ -108,7 +108,7 @@ func ListPodsOnANode(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// INFO(jchaloup): field selectors do not work properly with listers
|
// INFO(jchaloup): field selectors do not work properly with listers
|
||||||
// Once the descheduler switcheds to pod listers (through informers),
|
// Once the descheduler switches to pod listers (through informers),
|
||||||
// We need to flip to client-side filtering.
|
// We need to flip to client-side filtering.
|
||||||
podList, err := client.CoreV1().Pods(v1.NamespaceAll).List(ctx,
|
podList, err := client.CoreV1().Pods(v1.NamespaceAll).List(ctx,
|
||||||
metav1.ListOptions{FieldSelector: fieldSelector.String()})
|
metav1.ListOptions{FieldSelector: fieldSelector.String()})
|
||||||
|
|||||||
Reference in New Issue
Block a user