Fixed parsing of consul agent service names

This commit is contained in:
Diptanu Choudhury
2016-06-22 13:52:43 -07:00
parent 8de18ae309
commit b71ace9c2c

View File

@@ -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{},