forked from mirror/viper
The AddSecureRemoteProvider function didn't add secretKeyring to the remoteProvider struct.
This commit is contained in:
parent
12f7ec6566
commit
ca00a9b4f7
1
viper.go
1
viper.go
|
@ -286,6 +286,7 @@ func (v *Viper) AddRemoteProvider(provider, endpoint, path string) error {
|
||||||
endpoint: endpoint,
|
endpoint: endpoint,
|
||||||
provider: provider,
|
provider: provider,
|
||||||
path: path,
|
path: path,
|
||||||
|
secretKeyring: secretkeyring,
|
||||||
}
|
}
|
||||||
if !v.providerPathExists(rp) {
|
if !v.providerPathExists(rp) {
|
||||||
v.remoteProviders = append(v.remoteProviders, rp)
|
v.remoteProviders = append(v.remoteProviders, rp)
|
||||||
|
|
Loading…
Reference in New Issue