Files
podman/cmd/podman/machine
Kir Kolyshkin 2a99655120 machine: prepend LocalhostSSHArgs to args
Rather than append LocalhostSSHArgs to args, prepend it, assuming the
order doesn't matter here.

This fixes the following prealloc warning (without decreasing
readability):

> cmd/podman/machine/cp.go:130:2: Consider preallocating args (prealloc)
> 	args := []string{"-r", "-i", sshConfig.IdentityPath, "-P", strconv.Itoa(sshConfig.Port)}
> 	^

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>
2026-02-11 11:41:11 -08:00
..
2026-02-02 15:19:37 -06:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2026-02-02 15:19:37 -06:00
2025-11-12 10:37:48 -06:00
2025-10-23 11:00:15 -04:00
2026-02-11 11:41:10 -08:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2026-02-02 15:19:37 -06:00
2025-11-11 12:32:46 +01:00
2025-11-11 12:32:46 +01:00
2025-11-12 10:37:48 -06:00
2026-02-02 15:19:37 -06:00
2026-02-02 15:19:37 -06:00