summaryrefslogtreecommitdiff
path: root/libpod/common
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-12-02 14:06:33 -0500
committerMatthew Heon <mheon@redhat.com>2018-12-02 14:06:33 -0500
commitaa7ce33b7a7698d220f258bf9b29068be6fdb531 (patch)
tree15f60313cffac457e0eb88e0272a770479c40d94 /libpod/common
parent137e0948aed96c3fe6412512e0d138eedf71d499 (diff)
downloadpodman-aa7ce33b7a7698d220f258bf9b29068be6fdb531.tar.gz
podman-aa7ce33b7a7698d220f258bf9b29068be6fdb531.tar.bz2
podman-aa7ce33b7a7698d220f258bf9b29068be6fdb531.zip
Add a struct indicating if some Runtime fields were set
To configure runtime fields from the database, we need to know whether they were explicitly overwritten by the user (we don't want to overwrite anything that was explicitly set). Store a struct containing whether the variables we'll grab from the DB were explicitly set by the user so we know what we can and can't overwrite. This determines whether libpod runtime and static dirs were set via config file in a horribly hackish way (double TOML decode), but I can't think of a better way, and it shouldn't be that expensive as the libpod config is tiny. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/common')
0 files changed, 0 insertions, 0 deletions