diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-04 14:46:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 14:46:49 +0200 |
commit | 8cf74a79e326d4591226c9364851affdcbf13754 (patch) | |
tree | 91fdcf15163113da0edf4b0c9325ae8016ab5b78 /libpod | |
parent | 9d138724ab38842381fbc391734ea50d58161bf5 (diff) | |
parent | 42505f64d29e73106dc29658fe7e852b9a5421c5 (diff) | |
download | podman-8cf74a79e326d4591226c9364851affdcbf13754.tar.gz podman-8cf74a79e326d4591226c9364851affdcbf13754.tar.bz2 podman-8cf74a79e326d4591226c9364851affdcbf13754.zip |
Merge pull request #6470 from mheon/fix_stats_nonet
Properly follow linked namespace container for stats
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/networking_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go index 83344ebbe..0c9d28701 100644 --- a/libpod/networking_linux.go +++ b/libpod/networking_linux.go @@ -550,7 +550,7 @@ func getContainerNetNS(ctr *Container) (string, error) { if err = c.syncContainer(); err != nil { return "", err } - return c.state.NetNS.Path(), nil + return getContainerNetNS(c) } return "", nil } |