From d3f95715182183c5e501dbf5f0c92c329f0d84d2 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 11f3a77..63bda66 100644 --- a/viper.go +++ b/viper.go @@ -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)