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

Building error: smb.go:245: multiple-value uuid.NewV4() in single-value context #107

Closed
t3chn0m4g3 opened this issue Apr 5, 2018 · 6 comments

Comments

@t3chn0m4g3
Copy link
Contributor

When building with Alpine (edge) and go 1.10.x I am getting the following error

# github.com/mushorg/glutton/protocols/smb
go/src/github.com/mushorg/glutton/protocols/smb/smb.go:245: multiple-value uuid.NewV4() in single-value context

I googled the error and an API change seems to be the cause.

@Vikash082
Copy link

I see following lines in generator.go.

func NewV4() (UUID, error) {
return global.NewV4()
}

The function is changed and it breaking the earlier references.

@glaslos
Copy link
Member

glaslos commented Apr 11, 2018

Did you use dep ensure for the dependencies?

@t3chn0m4g3
Copy link
Contributor Author

Yes.

@t3chn0m4g3
Copy link
Contributor Author

@glaslos Thank you, 5f84547 fixed it.

@glaslos
Copy link
Member

glaslos commented Apr 11, 2018 via email

@t3chn0m4g3
Copy link
Contributor Author

@glaslos LOL, I just ran the same Dockerfile and the error messages did not appear again 😜

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

3 participants