• Waseem Ahmad's avatar
    Denote if a printer is generic. · 8442a118
    Waseem Ahmad authored
    This fixes #38779.
    
    This allows us to avoid case in which printers.GetStandardPrinter
    returns nil for both printer and err removing any potential panics that
    may arise throughout kubectl commands.
    
    Please see #38779 and #38112 for complete context.
    
    Add comment explaining adding handlers to printers.HumanReadablePrinter
    also remove an unnecessary conversion of printers.HumanReadablePrinter
    to printers.ResourcePrinter.
    8442a118
template.go 3.19 KB