mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-08 02:15:27 +00:00
Automatic merge from submit-queue update deprecated interface and fix bug not return when list pod failed in cronjob_controller.go **What this PR does / why we need it**: remove some unused redundant code, and fix bug: when list pod failed, job still deleted but pod may still exist in func `deleteJob` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```