summaryrefslogtreecommitdiff
path: root/libpod/container_internal.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-04-29 16:14:23 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-05-02 13:23:16 +0200
commitcfca853565eeb22b0d52d2ebf0b334ae5c8fb779 (patch)
tree7c3d9d265e680f2d42d60ea50cfb92fefd712492 /libpod/container_internal.go
parent80315b9c8615a9d5f4dada79b99c479ec1414304 (diff)
downloadpodman-cfca853565eeb22b0d52d2ebf0b334ae5c8fb779.tar.gz
podman-cfca853565eeb22b0d52d2ebf0b334ae5c8fb779.tar.bz2
podman-cfca853565eeb22b0d52d2ebf0b334ae5c8fb779.zip
libpod: unset networks before storing container conf
Since networks must always be read from the db bucket directly we should unset them in config to avoid caller from accidentally using them. I already tried this but it didn't work because the networks were unset after the config was marshalled. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/container_internal.go')
0 files changed, 0 insertions, 0 deletions