mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-06 22:17:41 +00:00
golangci-lint 2.9.0 with go 1.26 makes the prealloc linter smarter and flags many slices that can be preallocated with a known capacity. Convert them to make([]T, 0, cap) and drop a now-unused nolint directive. Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com> |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||