Skip to content

Conversation

@jijo-OO7
Copy link
Contributor

Fix ST1012 linter staticcheck issues (Fixes #4420)

Changes

  • Re-enable ST1012 check in .golangci.yaml and fix error variable naming conventions:
  • Update all related references

Testing

golangci-lint run ./... passes without ST1012 errors

@knative-prow knative-prow bot added area/control-plane needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 22, 2025
@knative-prow
Copy link

knative-prow bot commented Nov 22, 2025

Hi @jijo-OO7. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot requested review from creydr and matzew November 22, 2025 12:01
@knative-prow
Copy link

knative-prow bot commented Nov 22, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jijo-OO7
Once this PR has been reviewed and has the lgtm label, please assign cali0707 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Nov 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.77%. Comparing base (98368cf) to head (e8251f5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4597   +/-   ##
=======================================
  Coverage   28.77%   28.77%           
=======================================
  Files         294      294           
  Lines       16169    16169           
=======================================
  Hits         4653     4653           
  Misses      11063    11063           
  Partials      453      453           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jijo-OO7
Copy link
Contributor Author

Hi @creydr ,
When you have a moment, could you please review this PR? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/control-plane needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix ST1012 linter staticcheck issues

1 participant