From 592a3ab6152e866c06911a62ef63d18a1b705ee9 Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Thu, 18 Aug 2016 12:12:03 -0700 Subject: [PATCH] removing the agent config --- command/agent/agent.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index b6e94881b..753253d67 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -241,11 +241,6 @@ func (a *Agent) serverConfig() (*nomad.Config, error) { // Add the Consul and Vault configs conf.ConsulConfig = a.config.Consul - - // Enable vault if the token is present - if strings.TrimSpace(a.config.Vault.Token) != "" { - a.config.Vault.Enabled = true - } conf.VaultConfig = a.config.Vault return conf, nil