'svc' is a much clearer shorthand for "Service" than "se"

This commit is contained in:
Clayton Coleman 2015-02-21 18:17:52 -05:00
parent 86a0193f51
commit 09dcec57fb

View File

@ -85,9 +85,11 @@ func (e ShortcutExpander) VersionAndKindForResource(resource string) (defaultVer
// indeed a shortcut. Otherwise, will return resource unmodified.
func expandResourceShortcut(resource string) string {
shortForms := map[string]string{
"po": "pods",
"rc": "replicationcontrollers",
"po": "pods",
"rc": "replicationcontrollers",
// DEPRECATED: will be removed before 1.0
"se": "services",
"svc": "services",
"mi": "minions",
"ev": "events",
"limits": "limitRanges",