mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
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>
Upstream-commit: a812995f98
Component: cli
This commit is contained in:
@@ -21,9 +21,9 @@ const (
|
||||
|
||||
func normalize(flag string) Orchestrator {
|
||||
switch flag {
|
||||
case "kubernetes", "k8s":
|
||||
case "kubernetes":
|
||||
return OrchestratorKubernetes
|
||||
case "swarm", "swarmkit":
|
||||
case "swarm":
|
||||
return OrchestratorSwarm
|
||||
default:
|
||||
return orchestratorUnset
|
||||
|
||||
Reference in New Issue
Block a user