Skip to content

fixed lint error#1529

Merged
dannyzaken merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-fixes
Feb 16, 2025
Merged

fixed lint error#1529
dannyzaken merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-fixes

Conversation

@dannyzaken
Copy link
Member

Explain the changes

  1. This PR fixes a lint failure with The latest golangci-lint
  2. fixes error
    should omit nil check; len() for nil slices is defined as zero (gosimple)
    

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@dannyzaken dannyzaken merged commit 6b081b7 into noobaa:master Feb 16, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants