mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-01 22:34:14 +00:00
Merge pull request #30807 from caesarxuchao/change_pod_lister_api
Automatic merge from submit-queue Continue on #30774: Change podNamespacer API continue on #30774, credit to @wojtek-t, Ref #30759 I just fixed a test and converted IsActivePod to operate on *Pod.
This commit is contained in:
@@ -3166,7 +3166,7 @@ func waitForPodsInactive(ps *PodStore, interval, timeout time.Duration) error {
|
||||
return wait.PollImmediate(interval, timeout, func() (bool, error) {
|
||||
pods := ps.List()
|
||||
for _, pod := range pods {
|
||||
if controller.IsPodActive(*pod) {
|
||||
if controller.IsPodActive(pod) {
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user