From ce08532bfdded310e8ac7dfd0c490f29a7c27c98 Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Wed, 25 Nov 2015 11:51:57 -0800 Subject: [PATCH] Correct "etcd" naming The project should always be referred to in lowercase. --- README.md | 6 +++--- viper.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 681bf76..f86abfd 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ and formats. It supports: * reading from JSON, TOML, and YAML config files * live watching and re-reading of config files (optional) * reading from environment variables -* reading from remote config systems (Etcd or Consul), and watching changes +* reading from remote config systems (etcd or Consul), and watching changes * reading from command line flags * reading from buffer * setting explicit values @@ -243,7 +243,7 @@ package: `import _ "github.com/spf13/viper/remote"` Viper will read a config string (as JSON, TOML, or YAML) retrieved from a path -in a Key/Value store such as Etcd or Consul. These values take precedence over +in a Key/Value store such as etcd or Consul. These values take precedence over default values, but are overridden by configuration values retrieved from disk, flags, or environment variables. @@ -288,7 +288,7 @@ viper.SetConfigType("json") // because there is no file extension in a stream of err := viper.ReadRemoteConfig() ``` -### Watching Changes in Etcd - Unencrypted +### Watching Changes in etcd - Unencrypted ```go // alternatively, you can create a new viper instance. diff --git a/viper.go b/viper.go index f316671..9727f48 100644 --- a/viper.go +++ b/viper.go @@ -63,7 +63,7 @@ func (str UnsupportedConfigError) Error() string { } // Denotes encountering an unsupported remote -// provider. Currently only Etcd and Consul are +// provider. Currently only etcd and Consul are // supported. type UnsupportedRemoteProviderError string