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

Remove unused var #5541

Merged
merged 2 commits into from
May 14, 2024
Merged

Remove unused var #5541

merged 2 commits into from
May 14, 2024

Conversation

jjngx
Copy link
Contributor

@jjngx jjngx commented May 14, 2024

Proposed changes

This PR makes staticcheck happy by removing unused var in the telemetry package.

➜  kubernetes-ingress git:(test/fix-staticcheck) ✗ staticcheck ./internal/telemetry/*.go
internal/telemetry/cluster_test.go:921:2: var ingressClassList is unused (U1000)

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@jjngx jjngx requested a review from a team as a code owner May 14, 2024 13:00
@github-actions github-actions bot added the go Pull requests that update Go code label May 14, 2024
@jjngx jjngx merged commit 2613740 into main May 14, 2024
78 checks passed
@jjngx jjngx deleted the test/fix-staticcheck branch May 14, 2024 14:14
ssrahul96 pushed a commit to ssrahul96/kubernetes-ingress that referenced this pull request Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants