mirror of https://github.com/docker/cli.git
Remove aliases for orchestrator
Prefer "strict" values for orchestrator, as it's easier to add aliases (if we think it's needed) than to remove them later. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
41368a84bb
commit
a812995f98
|
@ -21,9 +21,9 @@ const (
|
||||||
|
|
||||||
func normalize(flag string) Orchestrator {
|
func normalize(flag string) Orchestrator {
|
||||||
switch flag {
|
switch flag {
|
||||||
case "kubernetes", "k8s":
|
case "kubernetes":
|
||||||
return OrchestratorKubernetes
|
return OrchestratorKubernetes
|
||||||
case "swarm", "swarmkit":
|
case "swarm":
|
||||||
return OrchestratorSwarm
|
return OrchestratorSwarm
|
||||||
default:
|
default:
|
||||||
return orchestratorUnset
|
return orchestratorUnset
|
||||||
|
|
Loading…
Reference in New Issue