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

azblob isn't lint-free with Go 1.20 #19990

Closed
jhendrixMSFT opened this issue Feb 9, 2023 · 0 comments
Closed

azblob isn't lint-free with Go 1.20 #19990

jhendrixMSFT opened this issue Feb 9, 2023 · 0 comments
Assignees
Labels
Storage Storage Service (Queues, Blobs, Files)

Comments

@jhendrixMSFT
Copy link
Member

service/client.go:30:2: field `ClientOptions` is unused (unused)
	azcore.ClientOptions
	^
blob/retry_reader_test.go:47:9: SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
	_, _ = rand.Read(perByteReader.RandomBytes)
	       ^
blob/retry_reader_test.go:389:10: SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
		_, _ = rand.Read(randBytes)
@jhendrixMSFT jhendrixMSFT added the Storage Storage Service (Queues, Blobs, Files) label Feb 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

2 participants