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

Lint: Fix violations of S1009: should omit nil check; len() for nil slices is defined as zero #14973

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

prestonvanloon
Copy link
Member

@prestonvanloon prestonvanloon commented Feb 21, 2025

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Which issues(s) does this PR fix?

Requirement for updates to go1.24.0 #14969

These issues will fail CI with the updates to go1.24.0

Other notes for review

Acknowledgements

@prestonvanloon prestonvanloon added this pull request to the merge queue Feb 21, 2025
Merged via the queue into develop with commit 832ebb3 Feb 21, 2025
17 checks passed
@prestonvanloon prestonvanloon deleted the fix-S1009 branch February 21, 2025 19:46
rkapka pushed a commit that referenced this pull request Mar 19, 2025
…lices is defined as zero (#14973)

* Fix violations of S1009: should omit nil check; len() for nil slices is defined as zero

* Changelog fragment
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