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

@@ -165,6 +165,10 @@ func (t *testPrinter) HandledResources() []string {
return []string{}
}
func (t *testPrinter) FinishPrint(output io.Writer, res string) error {
return nil
}
type testDescriber struct {
Name, Namespace string
Settings kubectl.DescriberSettings