spiegel_podman/cmd/podman/system
Osama Abdelkader b5de5efb3e cmd/podman/system: fix error handling in renumber and migrate commands
- Change function signatures to return error instead of calling os.Exit()
- Update cobra commands to use RunE instead of Run for proper error handling
- Remove unused imports (fmt, os, define)
- Remove FIXME comments about error handling inconsistency

This allows defer statements to run properly and improves testability.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-09-27 23:51:12 +03:00
..
connection Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
check.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
connection.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
context.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
df.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
dial_stdio.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
events.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
info.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
locks.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
migrate.go cmd/podman/system: fix error handling in renumber and migrate commands 2025-09-27 23:51:12 +03:00
prune.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
renumber.go cmd/podman/system: fix error handling in renumber and migrate commands 2025-09-27 23:51:12 +03:00
reset.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
reset_machine.go Prevents removal of podman.sock file using podman system reset command 2025-03-10 18:44:15 +01:00
reset_machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
service.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
service_abi.go server: fix url parsing in info 2024-10-07 12:03:56 +02: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 Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
system.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
unshare.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
version.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00