spiegel_podman/libpod/config
Matthew Heon 0355c28edf Re-add Fedora 31 migration code.
In the process, make everything in the config omitempty in TOML.
We're seeing issues (notably [1]) where, after rewriting
libpod.conf, fields that were not previously populated are
written - and, because they were not previously written, they are
included as empty. This is unfortunately different from not
included at all - it means that we need to assume the user
explicitly unset the value, and we can't use defaults. Setting
omitempty prevents us from writing things that should not be
written as they were not set originally.

[1] https://github.com/containers/libpod/issues/4210

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-12-10 13:50:17 -05:00
..
testdata add libpod/config 2019-10-31 17:42:37 +01:00
config.go Re-add Fedora 31 migration code. 2019-12-10 13:50:17 -05:00
config_test.go add libpod/config 2019-10-31 17:42:37 +01:00
default.go libpod/config: default: use crun on Cgroups v2 2019-11-07 13:55:41 +00:00
merge.go add libpod/config 2019-10-31 17:42:37 +01:00
merge_test.go add libpod/config 2019-10-31 17:42:37 +01:00