summaryrefslogtreecommitdiff
path: root/libpod/network/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-21 09:49:15 -0500
committerGitHub <noreply@github.com>2021-01-21 09:49:15 -0500
commitd102d02eb1cd135d877d946249a4fa1769ba17d0 (patch)
tree31f5f687761f012a12d596a99c5e5656ffa89a42 /libpod/network/create.go
parent7d297ddbdabe81b94184f2b2fe095f42389ddfa6 (diff)
parent836fa4c493c3809da4bbcbbec0bf5ceb954e7410 (diff)
downloadpodman-d102d02eb1cd135d877d946249a4fa1769ba17d0.tar.gz
podman-d102d02eb1cd135d877d946249a4fa1769ba17d0.tar.bz2
podman-d102d02eb1cd135d877d946249a4fa1769ba17d0.zip
Merge pull request #9046 from Luap99/fix-network-tests
Fix e2e network test flakes
Diffstat (limited to 'libpod/network/create.go')
-rw-r--r--libpod/network/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/network/create.go b/libpod/network/create.go
index 094fbe349..e7f65358b 100644
--- a/libpod/network/create.go
+++ b/libpod/network/create.go
@@ -23,7 +23,7 @@ func Create(name string, options entities.NetworkCreateOptions, runtimeConfig *c
return nil, err
}
// Acquire a lock for CNI
- l, err := acquireCNILock(filepath.Join(runtimeConfig.Engine.TmpDir, LockFileName))
+ l, err := acquireCNILock(runtimeConfig)
if err != nil {
return nil, err
}