mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-03-31 15:59:47 +00:00
Move container waiting/terminated state checking from PodLifeTime and RemovePodsHavingTooManyRestarts into podutil as separate exported helpers: HasMatchingContainerWaitingState and HasMatchingContainerTerminatedState. Each plugin composes only the helpers it needs.