Closed adityacs closed 7 years ago
Got below error while trying to build the binaries
go build -o build/infrakit -ldflags "-X github.com/docker/infrakit/pkg/cli.Version=328a778.m -X github.com/docker/infrakit/pkg/cli.Revision=328a77867c54a0ebe4c84b0ca47658d19b4e7b43 -X github.com/docker/infrakit/pkg/util/docker.ClientVersion=1.30" github.com/docker/infrakit/cmd/infrakit # github.com/docker/infrakit/vendor/github.com/coreos/etcd/clientv3 vendor/github.com/coreos/etcd/clientv3/client.go:225: dialer.DialContext undefined (type *net.Dialer has no field or method DialContext) vendor/github.com/coreos/etcd/clientv3/client.go:225: not enough arguments to return Makefile:86: recipe for target 'build/infrakit' failed make: *** [build/infrakit] Error 2
What version of the Go compiler are you using? We are using 1.7 at the moment.
@chungers I am using 1.8
Sorry, I was using 1.6. My bad. Sorry for raising wrong ticket. Closing this.
Got below error while trying to build the binaries