Files
moby/integration/plugin/graphdriver
Cory Snider c393ec6ca5 Update golangci-lint to v2.11.4; fix lints
Migrate the configuration using `golangci-lint migrate` and hand-edit to
minimize the textual diff with the v1 configuration. Exclude very noisy
linter rules that are more trouble than they are worth on a maintenance
branch. Fix the lints including duplicate imports, Yoda conditions and
WriteString(fmt.Fprintf(...)) that are obviously semantically equivalent
by inspection. Disable false-positive gosec lints where appropriate.

Also fix (*loggerutils.sharedTempFileConverter).Do() to compare file
modification times with (time.Time).Equal(). While technically not
semantically equivalent to the == operator, in practice it is equivalent
when comparing the modification times of two Stat()'ed files since
neither timestamp will have a monotonic component.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2026-04-27 18:02:18 -04:00
..