spiegel_podman/pkg/systemd/parser
Paul Holzinger 4f1d4ae8a0
fix new lint issues from prealloc
Fix a few new issues reported by the linter update.

There is no need to copy the capAdd/capDrop slice in the compat create
endpoint as they are only read and not modified.
For the other code preallocate the slices so we safe memory allocations.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-03-10 19:45:35 +01:00
..
split.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
split_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
unitfile.go fix new lint issues from prealloc 2026-03-10 19:45:35 +01:00
unitfile_test.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00