mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Rename ConsulConfig to ConsulAgentConfig
This commit is contained in:
@@ -86,7 +86,7 @@ func consulContext(clientConfig *config.Config, containerID string) *executor.Co
|
||||
ClientServiceName: clientConfig.ReadDefault("consul.client_service_name", "nomad-client"),
|
||||
}
|
||||
return &executor.ConsulContext{
|
||||
ConsulConfig: &cfg,
|
||||
ConsulAgentConfig: &cfg,
|
||||
ContainerID: containerID,
|
||||
DockerEndpoint: clientConfig.Read("docker.endpoint"),
|
||||
TLSCa: clientConfig.Read("docker.tls.ca"),
|
||||
|
||||
Reference in New Issue
Block a user