mirror of
https://github.com/containers/podman.git
synced 2026-02-14 16:21:38 -05:00
Instead of creating a slice and then appending to it, let's inline the initial slice into append. This may or may not result in less slice reallocations, but it is silencing the prealloc linter warnings. This commit is part of series fixing issues reported by prealloc linter from golangci-lint v2.8.0. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>