spiegel_podman/pkg/machine
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
..
apple pkg/machine: make mount units hook into local-fs 2025-11-25 18:13:13 +01:00
applehv enable gofumpt formatter 2025-11-11 12:32:46 +01:00
compression fix: check err returned by newGenericDecompressor 2025-11-20 12:07:37 +03:00
connection Bump Go version to v6 2025-10-23 11:00:15 -04:00
define enable gofumpt formatter 2025-11-11 12:32:46 +01:00
e2e Merge pull request #26277 from lstocchi/i25038 2025-11-21 11:32:09 +00:00
env Bump Go version to v6 2025-10-23 11:00:15 -04:00
hyperv fix hyperv ignition cleanup and error handling 2026-01-21 15:50:17 +01:00
ignition enable gofumpt formatter 2025-11-11 12:32:46 +01:00
libkrun Remove Intel MacOS support 2025-12-07 07:03:06 -06:00
lock Bump Go version to v6 2025-10-23 11:00:15 -04:00
ocipull Remove hardcoded refs from ociartifact code 2025-11-13 22:57:21 +01:00
os Autocomplete machine fixes 2026-02-02 15:19:37 -06:00
ports enable gofumpt formatter 2025-11-11 12:32:46 +01:00
provider Merge pull request #27650 from lstocchi/i27614 2025-12-09 12:17:38 +00:00
proxyenv Fix interfering escaping of commas and spaces in no_proxy variable 2026-02-02 15:49:25 +01:00
qemu Don't use append if not necessary 2026-02-11 11:41:10 -08:00
shim Ignore prompt if stdin not a tty on machine start 2025-11-19 11:50:25 -06:00
sockets Bump Go version to v6 2025-10-23 11:00:15 -04:00
stdpull enable gofumpt formatter 2025-11-11 12:32:46 +01:00
vmconfigs enable gofumpt formatter 2025-11-11 12:32:46 +01:00
windows hyperv should reuse hvsock registry entries when possible 2025-11-20 16:51:31 +01:00
wsl Replace FindExecutablePeer with FindHelperBinary 2025-11-26 14:52:32 +01:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
config_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
gvproxy.go Fix race condition in CleanupGVProxy when reading gvproxy PID file 2026-01-09 08:07:04 +01:00
gvproxy_unix.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
gvproxy_windows.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
keys.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_common.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
machine_windows_test.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go use bootc for os apply 2026-01-08 13:32:39 -06:00
ssh_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
volumes.go Bump Go version to v6 2025-10-23 11:00:15 -04:00