The AddSecureRemoteProvider function didn't add secretKeyring to the remoteProvider struct.

This commit is contained in:
chalupaul
2015-06-21 19:09:06 -04:00
committed by Kiril Zvezdarov
parent 12f7ec6566
commit ca00a9b4f7
+1
View File
@@ -286,6 +286,7 @@ func (v *Viper) AddRemoteProvider(provider, endpoint, path string) error {
endpoint: endpoint,
provider: provider,
path: path,
secretKeyring: secretkeyring,
}
if !v.providerPathExists(rp) {
v.remoteProviders = append(v.remoteProviders, rp)