Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to run go get? #68

Closed
v9n opened this issue Jul 16, 2015 · 1 comment
Closed

Fail to run go get? #68

v9n opened this issue Jul 16, 2015 · 1 comment

Comments

@v9n
Copy link
Contributor

v9n commented Jul 16, 2015

I try to write my first plugin and want to build it manually. When I run go get in ~/go/src/github.com/influxdb/telegraf/cmd/telegraf

../../../influxdb/meta/store.go:221: config.Logger undefined (type *raft.Config has no field or method Logger)
../../../influxdb/meta/store.go:386: invalid operation: s.raft.Leader() != "" (mismatched types net.Addr and string)
../../../influxdb/meta/store.go:404: invalid operation: s.raft.Leader() != "" (mismatched types net.Addr and string)
../../../influxdb/meta/store.go:435: cannot use s.raft.Leader() (type net.Addr) as type string in return argument
../../../influxdb/meta/store.go:457: cannot use a (type []string) as type []net.Addr in argument to s.raft.SetPeers
../../../influxdb/meta/store.go:1291: invalid operation: leader == "" (mismatched types net.Addr and string)
../../../influxdb/meta/store.go:1296: cannot use leader (type net.Addr) as type string in argument to net.DialTimeout

Any ideas?

@v9n
Copy link
Contributor Author

v9n commented Jul 16, 2015

My bad, I have to run

go get -u -f ./...

@v9n v9n closed this as completed Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant