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

Satisfy linter #567

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Satisfy linter #567

merged 1 commit into from
Sep 10, 2024

Conversation

majst01
Copy link
Contributor

@majst01 majst01 commented Sep 10, 2024

golangci-lint v1.61 introduced new warnings.

@majst01 majst01 marked this pull request as ready for review September 10, 2024 12:56
@majst01 majst01 requested a review from a team as a code owner September 10, 2024 12:56
@@ -16,6 +16,10 @@ import (
r "gopkg.in/rethinkdb/rethinkdb-go.v6"
)

func newLockOptAcquireTimeout(t time.Duration) *lockOptAcquireTimeout {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only used in test, therefore moved to the test file

@majst01 majst01 merged commit 0f3ecad into master Sep 10, 2024
2 checks passed
@majst01 majst01 deleted the fix-new-linter-warnings branch September 10, 2024 13:41
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

Successfully merging this pull request may close these issues.

3 participants