Rename ConsulConfig to ConsulAgentConfig

This commit is contained in:
Sean Chittenden 2016-05-21 17:03:46 -05:00
parent 520fcb99de
commit a13cbe73c3
No known key found for this signature in database
GPG key ID: 4EBC9DC16C2E5E16

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