aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_pod.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-12-13 16:58:14 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-14 18:18:16 +0000
commit6d297688644a73c23fce7fbbaa5b402eca4d85d8 (patch)
tree8219e44ba61f50a913031d85b68fdaa23ee09606 /libpod/runtime_pod.go
parentd8f099bb5a38b85bdea2bf6d99e0dbd0457ab666 (diff)
downloadpodman-6d297688644a73c23fce7fbbaa5b402eca4d85d8.tar.gz
podman-6d297688644a73c23fce7fbbaa5b402eca4d85d8.tar.bz2
podman-6d297688644a73c23fce7fbbaa5b402eca4d85d8.zip
Update pods to use file locks
Also includes misc other fixes - adding labels, fixing pod names Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #138 Approved by: rhatdan
Diffstat (limited to 'libpod/runtime_pod.go')
-rw-r--r--libpod/runtime_pod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_pod.go b/libpod/runtime_pod.go
index 162b353e6..35c7f0642 100644
--- a/libpod/runtime_pod.go
+++ b/libpod/runtime_pod.go
@@ -24,7 +24,7 @@ func (r *Runtime) NewPod(options ...PodCreateOption) (*Pod, error) {
return nil, ErrRuntimeStopped
}
- pod, err := newPod()
+ pod, err := newPod(r.lockDir)
if err != nil {
return nil, errors.Wrapf(err, "error creating pod")
}