mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Reconcile consul's address configuration section.
There were conflicting directives previously, both consul.addr and consul.address were required to achieve the desired behavior. The documentation said `consul.address` was the canonical name for the parameter, so consolidate configuration parameters to `consul.address`.
This commit is contained in:
@@ -598,7 +598,7 @@ func parseConsulConfig(result **config.ConsulConfig, list *ast.ObjectList) error
|
||||
|
||||
// Check for invalid keys
|
||||
valid := []string{
|
||||
"addr",
|
||||
"address",
|
||||
"auth",
|
||||
"auto_register",
|
||||
"ca_file",
|
||||
|
||||
Reference in New Issue
Block a user