Merge pull request #13121 from cblecker/consul-vet-fix

Fix govet error in consul provider
This commit is contained in:
Jake Champlin 2017-03-28 14:25:59 -04:00 committed by GitHub
commit 391fbbe9d8
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func (c *Config) Client() (*consulapi.Client, error) {
} else {
username = c.HttpAuth
}
config.HttpAuth = &consulapi.HttpBasicAuth{username, password}
config.HttpAuth = &consulapi.HttpBasicAuth{Username: username, Password: password}
}
if c.Token != "" {