Merge pull request #3395 from Illirgway/patch-1

Fix bug with unused (replaced with "") CONSUL_HTTP_AUTH in some places

This fixes #3392
pull/3408/head
preetapan 7 years ago committed by GitHub
commit 15e0647176

@ -462,6 +462,10 @@ func NewClient(config *Config) (*Client, error) {
config.Address = parts[1]
}
if config.Token == "" {
config.Token = defConfig.Token
}
client := &Client{
config: *config,
}

Loading…
Cancel
Save