'svc' is a much clearer shorthand for "Service" than "se"
This commit is contained in:
parent
86a0193f51
commit
09dcec57fb
@ -85,9 +85,11 @@ func (e ShortcutExpander) VersionAndKindForResource(resource string) (defaultVer
|
|||||||
// indeed a shortcut. Otherwise, will return resource unmodified.
|
// indeed a shortcut. Otherwise, will return resource unmodified.
|
||||||
func expandResourceShortcut(resource string) string {
|
func expandResourceShortcut(resource string) string {
|
||||||
shortForms := map[string]string{
|
shortForms := map[string]string{
|
||||||
"po": "pods",
|
"po": "pods",
|
||||||
"rc": "replicationcontrollers",
|
"rc": "replicationcontrollers",
|
||||||
|
// DEPRECATED: will be removed before 1.0
|
||||||
"se": "services",
|
"se": "services",
|
||||||
|
"svc": "services",
|
||||||
"mi": "minions",
|
"mi": "minions",
|
||||||
"ev": "events",
|
"ev": "events",
|
||||||
"limits": "limitRanges",
|
"limits": "limitRanges",
|
||||||
|
Loading…
Reference in New Issue
Block a user