mirror of
https://github.com/spf13/viper
synced 2024-11-04 20:27:02 +00:00
The AddSecureRemoteProvider function didn't add secretKeyring to the remoteProvider struct.
This commit is contained in:
parent
d62d4bb4c6
commit
d3f9571518
1 changed files with 1 additions and 0 deletions
1
viper.go
1
viper.go
|
@ -288,6 +288,7 @@ func (v *Viper) AddSecureRemoteProvider(provider, endpoint, path, secretkeyring
|
|||
endpoint: endpoint,
|
||||
provider: provider,
|
||||
path: path,
|
||||
secretKeyring: secretkeyring,
|
||||
}
|
||||
if !v.providerPathExists(rp) {
|
||||
v.remoteProviders = append(v.remoteProviders, rp)
|
||||
|
|
Loading…
Reference in a new issue