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

fix golint security issue #315

Merged

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Jan 1, 2025

pkg/utils/utils.go:211:9: G602: Potentially accessing slice out of bounds (gosec)
	return names[0], nil

@SchSeba SchSeba mentioned this pull request Jan 1, 2025
```
pkg/utils/utils.go:211:9: G602: Potentially accessing slice out of bounds (gosec)
	return names[0], nil
```

Signed-off-by: Sebastian Sch <[email protected]>
@SchSeba SchSeba force-pushed the fix_golint_sec_issue branch from 5537bce to 935ebcd Compare January 1, 2025 13:21
Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

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

LGTM

@adrianchiris adrianchiris merged commit ea00abe into k8snetworkplumbingwg:master Jan 7, 2025
10 of 11 checks passed
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.

4 participants