Correct "etcd" naming

The project should always be referred to in lowercase.
This commit is contained in:
Jonathan Boulle 2015-11-25 11:51:57 -08:00 committed by Steve Francia
parent c25387f10d
commit ce08532bfd
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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