Skip to content

fixed lint error #1529

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

Merged
merged 1 commit into from
Feb 16, 2025
Merged

fixed lint error #1529

merged 1 commit into from
Feb 16, 2025

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 <[email protected]>
@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