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

uuid.NewV4().string() #143

Closed
yangchuan37326 opened this issue Apr 19, 2019 · 1 comment
Closed

uuid.NewV4().string() #143

yangchuan37326 opened this issue Apr 19, 2019 · 1 comment

Comments

@yangchuan37326
Copy link

Compile and report errors:
lib/backend/hdfsbackend/client.go:117:86: multiple-value uuid.NewV4() in single-value context
change lib/backend/hdfsbackend/client.go:117 to
uid, _ := uuid.NewV4()
uploadPath := path.Join(c.config.RootDirectory, c.config.UploadDirectory, string(uid[:]))

@codygibb
Copy link
Contributor

Our use of uuid.NewV4() is consistent with the version of "github.com/satori/go.uuid" specified in glide.lock. Please make sure you installed the vendored code correctly (hint, make vendor).

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

2 participants