Added warning msg for kubectl get

- added warning description regarding terminated objects to `get` long help message
  - added printing of warning message in case of `get pods` if there are hidden pods
Fixes #22986
This commit is contained in:
vefimova
2016-07-13 16:00:33 +00:00
parent 7a3d5159cf
commit f20c40ed65
8 changed files with 177 additions and 53 deletions

View File

@@ -155,6 +155,10 @@ type CustomColumnsPrinter struct {
NoHeaders bool
}
func (s *CustomColumnsPrinter) FinishPrint(w io.Writer, res string) error {
return nil
}
func (s *CustomColumnsPrinter) PrintObj(obj runtime.Object, out io.Writer) error {
w := tabwriter.NewWriter(out, columnwidth, tabwidth, padding, padding_character, flags)