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

Can not build serf after getting the source code #623

Open
moooofly opened this issue Dec 29, 2020 · 0 comments
Open

Can not build serf after getting the source code #623

moooofly opened this issue Dec 29, 2020 · 0 comments

Comments

@moooofly
Copy link
Contributor

moooofly commented Dec 29, 2020

when building from source, I get

[#18#root@ubuntu-dev /go/src/github.com/hashicorp/serf]$go build ./...
# github.com/hashicorp/serf/serf
serf/merge_delegate.go:40:6: n.State undefined (type *memberlist.Node has no field or method State)
serf/merge_delegate.go:40:16: undefined: memberlist.StateLeft

by

if n.State == memberlist.StateLeft {
, find that memberlist.StateLeft can not be referenced, as only stateLeft defined in vendor source by https://github.com/hashicorp/serf/blob/master/vendor/github.com/hashicorp/memberlist/state.go#L22

I think vendor dir should be updated.

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