Disambiguate auto_join from auto_register, rename reg to auto_advertise.

Provide an option that describes the value to the user vs the
operation performed by the software.  Momentarily introducing
`auto_join`
This commit is contained in:
Sean Chittenden
2016-06-14 12:11:38 -07:00
parent 69a3188a0a
commit f1a40c0deb
5 changed files with 23 additions and 12 deletions

View File

@@ -134,7 +134,7 @@ func DefaultConfig() *Config {
ConsulConfig: &config.ConsulConfig{
ServerServiceName: "nomad",
ClientServiceName: "nomad-client",
AutoRegister: true,
AutoAdvertise: true,
Timeout: 5 * time.Second,
},
LogOutput: os.Stderr,