diff --git a/command/agent/config.go b/command/agent/config.go index e1033257b..e9f2cce42 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -362,7 +362,7 @@ func DevConfig() *Config { conf.DevMode = true conf.EnableDebug = true conf.DisableAnonymousSignature = true - conf.ConsulConfig.AutoRegister = true + conf.Consul.AutoRegister = true if runtime.GOOS == "darwin" { conf.Client.NetworkInterface = "lo0" } else if runtime.GOOS == "linux" {