spiegel_podman/cmd/podman/system
Kir Kolyshkin d316cbb362 Don't use append if not necessary
Calling append can lead to resizing the slice. In case we have all
elements beforehand, it is not necessary to call append in the first
place and this avoid resizing.

This is the first part of fixing issues reported by prealloc linter from
golangci-lint v2.8.0.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-02-11 11:41:10 -08:00
..
connection enable gofumpt formatter 2025-11-11 12:32:46 +01:00
check.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
connection.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
context.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
df.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00
dial_stdio.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
events.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
info.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
locks.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
migrate.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
prune.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
renumber.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
reset_machine.go Provider obfuscation in command line 2025-10-27 08:40:19 -05:00
reset_machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
service.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
service_abi.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
service_abi_common.go system service: split out cgroups call into linux specific file 2023-12-07 11:26:36 +01:00
service_abi_linux.go cmd/podman/system/service_abi_linux.go: Remove Cgroups v1 2025-11-12 15:15:34 -05:00
system.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
unshare.go Remove CNI backend from CLI options and completions 2026-01-27 16:32:38 +05:30
version.go Bump Go version to v6 2025-10-23 11:00:15 -04:00