tidb-operator icon indicating copy to clipboard operation
tidb-operator copied to clipboard

Chore: fix `lll` and `unparam` linters

Open fgksgf opened this issue 5 months ago • 3 comments

What problem does this PR solve?

What is changed and how does it work?

Code changes

  • [x] Has Go code change
  • [ ] Has CI related scripts change

Tests

  • [ ] Unit test
  • [ ] E2E test
  • [ ] Manual test
  • [ ] No code

Side effects

  • [ ] Breaking backward compatibility
  • [ ] Other side effects:

Related changes

  • [ ] Need to cherry-pick to the release branch
  • [ ] Need to update the documentation

Release Notes

Please refer to Release Notes Language Style Guide before writing the release note.


fgksgf avatar Jun 24 '25 02:06 fgksgf

/run-pull-e2e-kind-v2

github-actions[bot] avatar Jun 24 '25 02:06 github-actions[bot]

Codecov Report

Attention: Patch coverage is 24.75248% with 76 lines in your changes missing coverage. Please review.

Project coverage is 46.06%. Comparing base (d6a4c6f) to head (a6c0b93).

Additional details and impacted files
@@              Coverage Diff               @@
##           feature/v2    #6265      +/-   ##
==============================================
- Coverage       46.12%   46.06%   -0.07%     
==============================================
  Files             304      304              
  Lines           20008    20066      +58     
==============================================
+ Hits             9229     9243      +14     
- Misses          10779    10823      +44     
Flag Coverage Δ
unittest 46.06% <24.75%> (-0.07%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

codecov-commenter avatar Jun 24 '25 02:06 codecov-commenter

/lgtm

liubog2008 avatar Jun 27 '25 06:06 liubog2008

/run-pull-e2e-kind-v2

github-actions[bot] avatar Jun 27 '25 06:06 github-actions[bot]

@fgksgf: Your PR was out of date, I have automatically updated it for you.

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 ti-community-infra/tichi repository.

ti-chi-bot[bot] avatar Jun 27 '25 06:06 ti-chi-bot[bot]

/run-pull-e2e-kind-v2

github-actions[bot] avatar Jun 27 '25 06:06 github-actions[bot]

/lgtm

liubog2008 avatar Jun 27 '25 08:06 liubog2008

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liubog2008

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

The pull request process is described 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

ti-chi-bot[bot] avatar Jun 27 '25 08:06 ti-chi-bot[bot]

[LGTM Timeline notifier]

Timeline:

  • 2025-06-27 06:29:10.196549957 +0000 UTC m=+1030802.919728934: :ballot_box_with_check: agreed by liubog2008.
  • 2025-06-27 06:34:39.61569181 +0000 UTC m=+1031132.338870791: :heavy_multiplication_x::repeat: reset by ti-chi-bot[bot].
  • 2025-06-27 08:03:00.081249103 +0000 UTC m=+1036432.804428117: :ballot_box_with_check: agreed by liubog2008.

ti-chi-bot[bot] avatar Jun 27 '25 08:06 ti-chi-bot[bot]