mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
Fix govet error in consul provider
This commit is contained in:
parent
8b1df456eb
commit
a5769a9c99
@ -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 != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user