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

chore: fix staticcheck #2631

Merged
merged 1 commit into from Jul 2, 2023
Merged

chore: fix staticcheck #2631

merged 1 commit into from Jul 2, 2023

Conversation

testwill
Copy link
Contributor

commands_test.go:615:50: should use time.Since instead of time.Now().Sub (S1012)
internal/proto/reader_test.go:81:5: should use !bytes.Equal(read, original[:len(original)-2]) instead (S1004)

@chayim chayim changed the title chore: staticcheck fix chore: fix staticcheck Jul 2, 2023
@chayim chayim merged commit c0ab781 into redis:master Jul 2, 2023
6 checks passed
@testwill testwill deleted the staticcheck branch July 2, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants