diff options
author | Matthew Heon <mheon@redhat.com> | 2018-12-02 14:06:33 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2018-12-02 14:06:33 -0500 |
commit | aa7ce33b7a7698d220f258bf9b29068be6fdb531 (patch) | |
tree | 15f60313cffac457e0eb88e0272a770479c40d94 /cmd/podman/formats/templates.go | |
parent | 137e0948aed96c3fe6412512e0d138eedf71d499 (diff) | |
download | podman-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 'cmd/podman/formats/templates.go')
0 files changed, 0 insertions, 0 deletions