You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2018. It is now read-only.
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
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