mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-04 22:32:09 -04:00
Merge pull request #1430 from hashicorp/issue-1428
Use Consul API client's DefaultNonPooledTransport.
This commit is contained in:
commit
f6cfb67ef6
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ func client(s logical.Storage) (*api.Client, error) {
|
|||
return nil, fmt.Errorf("error reading root configuration: %s", err)
|
||||
}
|
||||
|
||||
consulConf := api.DefaultConfig()
|
||||
consulConf := api.DefaultNonPooledConfig()
|
||||
consulConf.Address = conf.Address
|
||||
consulConf.Scheme = conf.Scheme
|
||||
consulConf.Token = conf.Token
|
||||
|
|
|
|||
Loading…
Reference in a new issue