Merge pull request #18 from stp-ip/patch-1

Fix typo
This commit is contained in:
Steve Francia 2014-10-29 07:51:07 -04:00
commit 77144270da

View file

@ -105,7 +105,7 @@ to use Consul.
### Remote Key/Value Store Example - Encrypted ### Remote Key/Value Store Example - Encrypted
viper.AddSecureRemoteProvier("etcd","http://127.0.0.1:4001","/config/hugo.json","/etc/secrets/mykeyring.gpg") viper.AddSecureRemoteProvider("etcd","http://127.0.0.1:4001","/config/hugo.json","/etc/secrets/mykeyring.gpg")
viper.SetConfigType("json") // because there is no file extension in a stream of bytes viper.SetConfigType("json") // because there is no file extension in a stream of bytes
err := viper.ReadRemoteConfig() err := viper.ReadRemoteConfig()