CI: update golangci-lint

Necessary to properly support Go 1.21.
This commit is contained in:
Michael Eischer
2024-01-08 21:33:05 +01:00
parent 59fe24cb2b
commit 5cd000f4b0
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -110,9 +110,8 @@ func (d *SnapshotsDir) Lookup(ctx context.Context, name string) (fs.Node, error)
return newSnapshotLink(d.root, inode, entry.linkTarget, entry.snapshot)
} else if entry.snapshot != nil {
return newDirFromSnapshot(d.root, inode, entry.snapshot)
} else {
return NewSnapshotsDir(d.root, inode, d.inode, d.dirStruct, d.prefix+"/"+name), nil
}
return NewSnapshotsDir(d.root, inode, d.inode, d.dirStruct, d.prefix+"/"+name), nil
}
return nil, syscall.ENOENT