mirror of
https://github.com/spf13/viper
synced 2024-11-04 20:27:02 +00:00
Fix typo
This commit is contained in:
parent
22d0391e9b
commit
bddcf7e104
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ to use Consul.
|
|||
|
||||
### 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
|
||||
err := viper.ReadRemoteConfig()
|
||||
|
||||
|
|
Loading…
Reference in a new issue