From ca00a9b4f78a0bf982b54e8a5689fa6a142ce0f9 Mon Sep 17 00:00:00 2001 From: chalupaul Date: Wed, 27 May 2015 15:50:32 -0500 Subject: [PATCH] The AddSecureRemoteProvider function didn't add secretKeyring to the remoteProvider struct. --- viper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/viper.go b/viper.go index d95ca28..2b651f8 100644 --- a/viper.go +++ b/viper.go @@ -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)