use valid_resources to replace kubectl.PossibleResourceTypes

This commit is contained in:
lojies
2016-08-19 09:42:46 +08:00
parent 57ad590d8d
commit f81fef1f04
4 changed files with 3 additions and 10 deletions

View File

@@ -51,8 +51,7 @@ var (
will first check for an exact match on TYPE and NAME_PREFIX. If no such resource
exists, it will output details for every resource that has a name prefixed with NAME_PREFIX.
`) +
kubectl.PossibleResourceTypes
`) + valid_resources
describe_example = dedent.Dedent(`
# Describe a node