Change resource "ingress" to "ingresses" in URL path and kubectl

This commit is contained in:
Janet Kuo
2015-10-23 17:17:55 -07:00
parent 4f17b4b39c
commit 54b743bc05
12 changed files with 41 additions and 40 deletions

View File

@@ -108,7 +108,7 @@ func expandResourceShortcut(resource string) string {
"rc": "replicationcontrollers",
"ds": "daemonsets",
"svc": "services",
"ing": "ingress",
"ing": "ingresses",
}
if expanded, ok := shortForms[resource]; ok {
return expanded