summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-04 14:46:49 +0200
committerGitHub <noreply@github.com>2020-06-04 14:46:49 +0200
commit8cf74a79e326d4591226c9364851affdcbf13754 (patch)
tree91fdcf15163113da0edf4b0c9325ae8016ab5b78 /libpod
parent9d138724ab38842381fbc391734ea50d58161bf5 (diff)
parent42505f64d29e73106dc29658fe7e852b9a5421c5 (diff)
downloadpodman-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.go2
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
}