update golangci-lint to v2.10.1

And remove one false positive comment that got fixed as it seems like.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2026-02-23 10:13:48 +01:00
parent 8a0c777017
commit 02f0766a79
2 changed files with 1 additions and 2 deletions

View File

@@ -80,7 +80,6 @@ func (r *ConmonOCIRuntime) createRootlessContainer(ctr *Container, restoreOption
var parentMount string
for dir := filepath.Dir(rootPath); ; dir = filepath.Dir(dir) {
if m, found := byMountpoint[dir]; found {
//nolint:staticcheck // false positive?! it claims the value of parentMount is not used but we use it below for the mount
parentMount = dir
for o := range strings.SplitSeq(m.Optional, ",") {
opt := strings.Split(o, ":")