Merge branch '0.2' into config

Conflicts:
	Documentation/external-documentation.md
	server/config.go
	server/config_test.go
	server/tls_info.go
	server/util.go
This commit is contained in:
Ben Johnson 2013-10-23 13:59:28 -06:00
commit 41e7266ff7
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ type Config struct {
CertFile string `toml:"cert_file" env:"ETCD_PEER_CERT_FILE"`
KeyFile string `toml:"key_file" env:"ETCD_PEER_KEY_FILE"`
ListenHost string `toml:"listen_host" env:"ETCD_PEER_LISTEN_HOST"`
}
}
@ -55,6 +56,7 @@ func NewConfig() *Config {
c := new(Config)
c.SystemPath = DefaultSystemConfigPath
c.AdvertisedUrl = "127.0.0.1:4001"
c.AdvertisedUrl = "127.0.0.1:4001"
c.DataDir = "."
c.MaxClusterSize = 9
c.MaxResultBuffer = 1024

View File

@ -44,4 +44,3 @@ func trimsplit(s, sep string) []string {
}
return trimmed
}