mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Simplify the output in AfterPrint()
- Change FinishPrint() to AfterPrint() (As suggested in #31160) - add a newline to separate it from the table - remove the "objects" and () - assume plural
This commit is contained in:
@@ -155,7 +155,7 @@ type CustomColumnsPrinter struct {
|
||||
NoHeaders bool
|
||||
}
|
||||
|
||||
func (s *CustomColumnsPrinter) FinishPrint(w io.Writer, res string) error {
|
||||
func (s *CustomColumnsPrinter) AfterPrint(w io.Writer, res string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user