Skip to content

Fix linter warning#3280

Merged
SuperQ merged 1 commit intomasterfrom
superq/gosimple
Mar 27, 2025
Merged

Fix linter warning#3280
SuperQ merged 1 commit intomasterfrom
superq/gosimple

Conversation

@SuperQ
Copy link
Copy Markdown
Member

@SuperQ SuperQ commented Mar 26, 2025

Fix S1009: should omit nil check; len() for nil maps is defined as zero (gosimple)

@SuperQ SuperQ requested review from dswarbrick and sysadmind March 26, 2025 08:55
Comment thread collector/ethtool_linux.go Outdated
Fix S1009: should omit nil check; len() for nil maps is defined as zero (gosimple)

Signed-off-by: Ben Kochie <superq@gmail.com>
@SuperQ SuperQ requested a review from dswarbrick March 27, 2025 08:10
@SuperQ SuperQ merged commit 58ac08e into master Mar 27, 2025
14 checks passed
@SuperQ SuperQ deleted the superq/gosimple branch March 27, 2025 08:57
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