From b71ace9c2c3cddce277ddc86951e0f8544472e89 Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Wed, 22 Jun 2016 13:52:43 -0700 Subject: [PATCH] Fixed parsing of consul agent service names --- command/agent/command.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/command/agent/command.go b/command/agent/command.go index 127ecff44..c1ae81b16 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -22,7 +22,6 @@ import ( "github.com/hashicorp/logutils" "github.com/hashicorp/nomad/helper/flag-slice" "github.com/hashicorp/nomad/helper/gated-writer" - "github.com/hashicorp/nomad/nomad/structs/config" "github.com/hashicorp/scada-client/scada" "github.com/mitchellh/cli" ) @@ -61,7 +60,6 @@ func (c *Command) readConfig() *Config { // Make a new, empty config. cmdConfig := &Config{ Atlas: &AtlasConfig{}, - Consul: config.DefaultConsulConfig(), Client: &ClientConfig{}, Ports: &Ports{}, Server: &ServerConfig{},