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:
Sebastiaan van Stijn
2018-01-11 21:16:37 +01:00
parent cfd3975d5f
commit 5127f79a88
+2 -2
View File
@@ -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