The namespace parameter "ns" of getScheduledAndUnscheduledPods() is always metav1.NamespaceAll. This removes the parameter from the function for cleanup.
3.8 KiB
3.8 KiB
The namespace parameter "ns" of getScheduledAndUnscheduledPods() is always metav1.NamespaceAll. This removes the parameter from the function for cleanup.