mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-16 14:57:35 +00:00
Automatic merge from submit-queue Add printer#EnsurePrintHeaders method This patch adds a new `EnsurePrintHeaders` method to the HumanReadablePrinter `ResourcePrinter`, which allows headers to be printed in cases where multiple lists of the same resource are printed consecutively, but are separated by non-printer related information. Related downstream PR: https://github.com/openshift/origin/pull/12528 **Release note**: ```release-note release-note-none ``` cc @fabianofranz @AdoHe