Renamed configuration parameters.

This commit is contained in:
Ben Johnson
2013-11-14 22:58:47 -05:00
parent 3ce1132d5c
commit cba2611c68
35 changed files with 332 additions and 342 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/coreos/etcd/store"
)
// The location of the machine URL data.
// The location of the peer URL data.
const RegistryKey = "/_etcd/machines"
// The Registry stores URL information for nodes.
@ -168,7 +168,7 @@ func (r *Registry) load(name string) {
// Parse as a query string.
m, err := url.ParseQuery(e.Value)
if err != nil {
panic(fmt.Sprintf("Failed to parse machines entry: %s", name))
panic(fmt.Sprintf("Failed to parse peers entry: %s", name))
}
// Create node.