mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Revert "The AddSecureRemoteProvider function didn't add secretKeyring to the remoteProvider struct."
This reverts commit ca00a9b4f7
.
This commit is contained in:
parent
ca00a9b4f7
commit
8e930a9714
1 changed files with 0 additions and 1 deletions
1
viper.go
1
viper.go
|
@ -286,7 +286,6 @@ 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 a new issue