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

Bump golangci-lint from v1.57.2 to v1.63.4 #8641

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 22, 2025

Thank you for contributing to Velero!

Please add a summary of your change

Bump golangci-lint from v1.57.2 to v1.63.4 and fixes newly identified issues

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 60.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 59.39%. Comparing base (a9031eb) to head (7100c04).

Files with missing lines Patch % Lines
pkg/restore/actions/csi/pvc_action.go 40.00% 3 Missing ⚠️
...ternal/delete/actions/csi/volumesnapshot_action.go 0.00% 2 Missing ⚠️
...delete/actions/csi/volumesnapshotcontent_action.go 0.00% 2 Missing ⚠️
internal/storage/storagelocation.go 0.00% 1 Missing ⚠️
pkg/cmd/util/downloadrequest/downloadrequest.go 0.00% 1 Missing ⚠️
pkg/util/csi/volume_snapshot.go 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8641      +/-   ##
==========================================
- Coverage   59.39%   59.39%   -0.01%     
==========================================
  Files         370      370              
  Lines       39952    39953       +1     
==========================================
  Hits        23730    23730              
- Misses      14731    14732       +1     
  Partials     1491     1491              

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

@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 22, 2025
Comment on lines 515 to 523
if test.dd.Namespace == velerov1api.DefaultNamespace {
if controllerutil.ContainsFinalizer(test.dd, DataUploadDownloadFinalizer) {
assert.True(t, true, apierrors.IsNotFound(err))
assert.True(t, true, apierrors.IsNotFound(err)) //nolint:testifylint // TODO: Needs to be fixed
} else {
require.NoError(t, err)
}
} else {
assert.True(t, true, apierrors.IsNotFound(err))
assert.True(t, true, apierrors.IsNotFound(err)) //nolint:testifylint // TODO: Needs to be fixed
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@reasonerjt , @blackpiglet ,
This deserves your attention. I believe it deserves a dedicated PR outside this one.

@mmorel-35 mmorel-35 marked this pull request as ready for review January 22, 2025 17:52
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.

1 participant