Commit 5ac372df authored by Tamer Tas's avatar Tamer Tas

Alphabetize kubectl resource shortcuts list

parent 810181fb
......@@ -88,20 +88,20 @@ func expandResourceShortcut(resource string) string {
shortForms := map[string]string{
// Please keep this alphabetized
"cs": "componentstatuses",
"ev": "events",
"ds": "daemonsets",
"ep": "endpoints",
"ev": "events",
"hpa": "horizontalpodautoscalers",
"ing": "ingresses",
"limits": "limitranges",
"no": "nodes",
"ns": "namespaces",
"po": "pods",
"pv": "persistentvolumes",
"pvc": "persistentvolumeclaims",
"pv": "persistentvolumes",
"quota": "resourcequotas",
"rc": "replicationcontrollers",
"ds": "daemonsets",
"svc": "services",
"ing": "ingresses",
}
if expanded, ok := shortForms[resource]; ok {
return expanded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment