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:
Sebastiaan van Stijn 2018-01-11 21:16:37 +01:00
parent 41368a84bb
commit a812995f98
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 2 deletions

View File

@ -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