diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-06-04 17:43:08 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-06-04 17:43:08 -0400 |
commit | 9be0d759b8dc6f1f5967d511c85924cd923b5ae6 (patch) | |
tree | 981c59ecb15dfc44cb9f0befc247ab840e1afc87 /cmd/podman/pods/stats.go | |
parent | 644a7b78ff1d2ee7805d8ddc105827b421ec598d (diff) | |
download | podman-9be0d759b8dc6f1f5967d511c85924cd923b5ae6.tar.gz podman-9be0d759b8dc6f1f5967d511c85924cd923b5ae6.tar.bz2 podman-9be0d759b8dc6f1f5967d511c85924cd923b5ae6.zip |
Strip defaults from namespace flags
We were picking up defaults from the client's containers.conf,
which broke pod namespaces. The server-side code already checks
containers.conf when not explicitly overridden by the user, or by
the container being part of a pod (the last bit being our bug).
This only manifested on systems with a containers.conf installed,
so RHEL 8 and Fedora 32 (which means our F32 CI VMs likely should
have caught it, but didn't, which is concerning).
This prevents defaults for these flags being shown, but they were
incorrect anyways for `podman-remote`, so I'm not terribly
concerned.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman/pods/stats.go')
0 files changed, 0 insertions, 0 deletions