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

This commit is contained in:
chalupaul 2015-05-27 15:50:32 -05:00
parent d62d4bb4c6
commit d3f9571518

View file

@ -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)