Rename ConsulConfig to ConsulAgentConfig

This commit is contained in:
Sean Chittenden
2016-05-21 17:03:46 -05:00
parent 4d30c98aa6
commit 6fae3db12e

View File

@@ -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"),