spiegel_podman/pkg/machine/define
lstocchi a9a9eda883
rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling
The old ErrRelaunchAttempt name was ambiguous — it reads as though the
relaunch attempt failed, when it actually signals success. Rename to
ErrRelaunchSucceeded and update comments at every call site to clarify
that this is not a real error but a sentinel indicating the elevated
child process completed the operation successfully.

Also fix a bug in WSL's launchElevate where a failed elevated process
was incorrectly wrapped with the sentinel, causing callers to treat the
failure as success and print "Machine init complete."

Signed-off-by: lstocchi <lstocchi@redhat.com>
2026-04-03 18:37:24 +02:00
..
config.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
errors.go rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
image_format.go Fix cache misses when pulling WSL machine image 2025-11-04 12:12:10 +01:00
image_format_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
initopts.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
machine_artifact.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
machine_artifact_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
setopts.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
state.go Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
usb.go Build tag out QEMU for Darwin 2024-02-15 15:53:06 -05:00
vmfile.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
vmfile_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
vmtype.go Add krun support to podman machine 2024-04-26 08:58:38 -05:00
vmtype_test.go pkg/machine: fix various linter warnings 2025-03-31 12:27:55 -07:00