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

Remove a reduntant nil check #3953

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Remove a reduntant nil check #3953

merged 2 commits into from
Aug 16, 2024

Conversation

past
Copy link
Member

@past past commented Aug 16, 2024

Fixes a gosimple lint error: "api/query/query.go:102:5: S1009: should omit nil check; len() for []int64 is defined as zero (gosimple)"

@past past requested a review from jcscottiii August 16, 2024 16:18
@past
Copy link
Member Author

past commented Aug 16, 2024

go_cloud_test started before I updated the key, but staging deployment started afterwards and failed with an internal error as it frequently does.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This makes sense. I did not know that they required the patch version as of 1.21 until looking into this.

image

Thanks for this.

@past past merged commit 14e4dd8 into main Aug 16, 2024
11 of 12 checks passed
@past past deleted the past/fix-lint branch August 16, 2024 17:13
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.

2 participants