summaryrefslogtreecommitdiff
path: root/libpod/networking_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-22 13:46:52 -0500
committerGitHub <noreply@github.com>2022-02-22 13:46:52 -0500
commitd3903a85910979d8212028cf814574047015db58 (patch)
treef132003f65fee6e2178f96c8a289ee97a41dfe5b /libpod/networking_linux.go
parentfab82a7c9ca3821c2b4496f9e9f6bfc8b2aff53d (diff)
parent4a60319ecb833fd4afd4ef32b3ca49c377a94b5c (diff)
downloadpodman-d3903a85910979d8212028cf814574047015db58.tar.gz
podman-d3903a85910979d8212028cf814574047015db58.tar.bz2
podman-d3903a85910979d8212028cf814574047015db58.zip
Merge pull request #13311 from mheon/remove_runtime_lock
Remove the runtime lock
Diffstat (limited to 'libpod/networking_linux.go')
-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 19d5c7f76..29b9941fe 100644
--- a/libpod/networking_linux.go
+++ b/libpod/networking_linux.go
@@ -320,7 +320,7 @@ func (r *RootlessNetNS) Cleanup(runtime *Runtime) error {
// only if the netns is empty we know that we do not need cleanup
return c.state.NetNS != nil
}
- ctrs, err := runtime.GetContainersWithoutLock(activeNetns)
+ ctrs, err := runtime.GetContainers(activeNetns)
if err != nil {
return err
}