Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Dynamic DNS name in ecssd_agent.go is required #45

Open
aditi10 opened this issue Jan 15, 2018 · 0 comments
Open

Dynamic DNS name in ecssd_agent.go is required #45

aditi10 opened this issue Jan 15, 2018 · 0 comments

Comments

@aditi10
Copy link

aditi10 commented Jan 15, 2018

The DNSNAME in ecssd_agent.go is hard coded to "servicediscovery.internal". We need to try making it dynamic suitable for any Rout 53 entry.

When I tried to run the ecssd_agent script obtained multiple issues

go run ecssd_agent.go

command-line-arguments

./ecssd_agent.go:73:21: cannot assign <-chan "vendor/github.com/docker/docker/api/types/events".Message to e.events (type <-chan "github.com/docker/docker/api/types/events".Message) in multiple assignment
./ecssd_agent.go:73:69: cannot use "github.com/docker/docker/api/types".EventsOptions literal (type "github.com/docker/docker/api/types".EventsOptions) as type "vendor/github.com/docker/docker/api/types".EventsOptions in argument to e.dockerClient.Events
./ecssd_agent.go:73:77: cannot use filters (type "github.com/docker/docker/api/types/filters".Args) as type "vendor/github.com/docker/docker/api/types/filters".Args in field value
./ecssd_agent.go:403:96: cannot use "github.com/docker/docker/api/types".ContainerListOptions literal (type "github.com/docker/docker/api/types".ContainerListOptions) as type "vendor/github.com/docker/docker/api/types".ContainerListOptions in argument to dockerClient.ContainerList
./ecssd_agent.go:479:46: cannot use container (type "vendor/github.com/docker/docker/api/types".ContainerJSON) as type "github.com/docker/docker/api/types".ContainerJSON in argument to getNetworkPortAndServiceName
./ecssd_agent.go:582:33: cannot use config (type *"github.com/aws/aws-sdk-go/aws".Config) as type *"vendor/github.com/aws/aws-sdk-go/aws".Config in argument to session.NewSession
./ecssd_agent.go:698:45: cannot use container (type "vendor/github.com/docker/docker/api/types".ContainerJSON) as type "github.com/docker/docker/api/types".ContainerJSON in argument to getNetworkPortAndServiceName
./ecssd_agent.go:727:45: cannot use container (type "vendor/github.com/docker/docker/api/types".ContainerJSON) as type "github.com/docker/docker/api/types".ContainerJSON in argument to getNetworkPortAndServiceName

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant