mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-30 05:43:58 +00:00
When node scheduling tests were updated to use worker instead of master nodes the GetPodsScheduled function, which is tasked with getting all scheduled and not scheduled pods inadvertently was changed to ignore all pods that have an empty NodeName before checking whether pods had been scheduled or not. This updates the function to include pods without a NodeName in the check for unscheduled pods. Signed-off-by: hasheddan <georgedanielmangum@gmail.com>