Skip to content

update golangci-lint to v1.64.4#2323

Merged
openshift-merge-bot[bot] merged 6 commits into
containers:mainfrom
Luap99:lint
Feb 17, 2025
Merged

update golangci-lint to v1.64.4#2323
openshift-merge-bot[bot] merged 6 commits into
containers:mainfrom
Luap99:lint

Conversation

@Luap99

@Luap99 Luap99 commented Feb 13, 2025

Copy link
Copy Markdown
Member

see commits

@openshift-ci

openshift-ci Bot commented Feb 13, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

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

The pull request process is described here

Details 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

Comment thread libimage/manifest_list_test.go
Comment thread libimage/runtime_test.go Outdated
Comment thread libimage/runtime_test.go Outdated
Comment thread libnetwork/slirp4netns/slirp4netns.go Outdated
Comment thread pkg/cgroups/cgroups_linux.go Outdated
Comment thread .github/renovate.json5

@mtrmac mtrmac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A few more nits, LGTM otherwise.

Comment thread libnetwork/slirp4netns/slirp4netns.go Outdated
Comment thread pkg/cgroups/cgroups_linux.go Outdated
Comment thread libimage/runtime_test.go Outdated
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Mainly type casting issues. I ignored some of them where I don't think
it can fail or when it is in tests where we would notice anyway.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
In particular rework the tmpdir test to use two seperate runs so we can
correctl use t.Setenv() so it cleans up at the right moment.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>

@mtrmac mtrmac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm

Thank you!

@openshift-ci openshift-ci Bot added the lgtm label Feb 17, 2025
@openshift-merge-bot openshift-merge-bot Bot merged commit b492305 into containers:main Feb 17, 2025
@Luap99 Luap99 deleted the lint branch February 17, 2025 16:03
@Luap99

Luap99 commented Feb 17, 2025

Copy link
Copy Markdown
Member Author

For reference, the renovate config worked: #2327

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants