mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-13 00:46:16 -06:00
Merge pull request #13121 from cblecker/consul-vet-fix
Fix govet error in consul provider
This commit is contained in:
commit
391fbbe9d8
@ -52,7 +52,7 @@ func (c *Config) Client() (*consulapi.Client, error) {
|
|||||||
} else {
|
} else {
|
||||||
username = c.HttpAuth
|
username = c.HttpAuth
|
||||||
}
|
}
|
||||||
config.HttpAuth = &consulapi.HttpBasicAuth{username, password}
|
config.HttpAuth = &consulapi.HttpBasicAuth{Username: username, Password: password}
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.Token != "" {
|
if c.Token != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user