From a812995f9834ddd1ac8c9ee8ef6409594ea84481 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 11 Jan 2018 21:16:37 +0100 Subject: [PATCH] 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 --- cli/command/orchestrator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/command/orchestrator.go b/cli/command/orchestrator.go index 4efe623c29..d27bd6c1fa 100644 --- a/cli/command/orchestrator.go +++ b/cli/command/orchestrator.go @@ -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