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

chore: enable use-any from revive #8624

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Jan 17, 2025

Thank you for contributing to Velero!

Please add a summary of your change

enable and fixes use-any rule from revive

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

@mmorel-35
Copy link
Contributor Author

/kind changelog-not-required

@github-actions github-actions bot added the kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes label Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 54.21053% with 87 lines in your changes missing coverage. Please review.

Project coverage is 59.35%. Comparing base (5b1738a) to head (cbba3bd).

Files with missing lines Patch % Lines
pkg/cmd/server/plugin/plugin.go 0.00% 29 Missing ⚠️
pkg/plugin/clientmgmt/process/logrus_adapter.go 27.27% 8 Missing ⚠️
pkg/cmd/util/output/backup_structured_describer.go 84.84% 5 Missing ⚠️
pkg/datapath/micro_service_watcher.go 0.00% 5 Missing ⚠️
...g/plugin/clientmgmt/process/restartable_process.go 0.00% 4 Missing ⚠️
pkg/cmd/cli/backup/create.go 0.00% 3 Missing ⚠️
pkg/cmd/cli/restore/create.go 0.00% 3 Missing ⚠️
pkg/backup/backup.go 50.00% 2 Missing ⚠️
internal/hook/wait_exec_hook_handler.go 66.66% 1 Missing ⚠️
pkg/cmd/errors.go 0.00% 1 Missing ⚠️
... and 26 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8624      +/-   ##
==========================================
+ Coverage   59.33%   59.35%   +0.02%     
==========================================
  Files         370      370              
  Lines       39932    39932              
==========================================
+ Hits        23692    23700       +8     
+ Misses      14744    14737       -7     
+ Partials     1496     1495       -1     

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

Copy link
Contributor

@reasonerjt reasonerjt left a comment

Choose a reason for hiding this comment

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

lgtm

+1 that we should prefer any to interface{}

@blackpiglet blackpiglet added kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes and removed kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes labels Jan 20, 2025
Copy link
Member

@kaovilai kaovilai left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-e2e-2tests has-unit-tests kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants