Fix govet error in consul provider

This commit is contained in:
Christoph Blecker 2017-03-28 08:06:39 -07:00
parent 8b1df456eb
commit a5769a9c99
No known key found for this signature in database
GPG Key ID: B34A59A9D39F838B
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 != "" {