mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-25 17:57:54 +00:00
As indicated in #21849, loading the machine config can flake/fail with an EOF JSON error indicating an incomplete file. Address the issue by atomically writing the config. This way, it is not possible to load an incomplete or partially written file. The lock can be acquired later on to sync state. [NO NEW TESTS NEEDED] as it's a hard-to-hit race. Fixes: #21849 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com> |
||
|---|---|---|
| .. | ||
| arch.go | ||
| arch_test.go | ||
| config.go | ||
| config_common.go | ||
| config_darwin.go | ||
| config_windows.go | ||
| machine.go | ||
| sockets.go | ||
| sockets_darwin.go | ||
| volumes.go | ||
| volumes_unix.go | ||
| volumes_windows.go | ||