summaryrefslogtreecommitdiff
path: root/libpod/runtime_renumber.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-12-10 13:50:17 -0500
committerMatthew Heon <matthew.heon@pm.me>2019-12-10 13:50:17 -0500
commit0355c28edf84d85e0c376234e19d6f1188b34c2d (patch)
tree6276110870949f1386b160c323c42df72a3e4d42 /libpod/runtime_renumber.go
parentc2dab75f0ec1502e075cf5174d1b308267648fda (diff)
downloadpodman-0355c28edf84d85e0c376234e19d6f1188b34c2d.tar.gz
podman-0355c28edf84d85e0c376234e19d6f1188b34c2d.tar.bz2
podman-0355c28edf84d85e0c376234e19d6f1188b34c2d.zip
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>
Diffstat (limited to 'libpod/runtime_renumber.go')
0 files changed, 0 insertions, 0 deletions