summaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-27 13:42:45 -0500
committerMatthew Heon <matthew.heon@gmail.com>2017-12-04 13:40:27 -0500
commite9298a533adf30c3dd1990098665be23a0f29d1a (patch)
tree12b3d265a1c7d5435f2953bf91ee6f56d4f54d44 /libpod/runtime_ctr.go
parentabfd18b0db8cb0ea331d90d702eab19e2157b973 (diff)
downloadpodman-e9298a533adf30c3dd1990098665be23a0f29d1a.tar.gz
podman-e9298a533adf30c3dd1990098665be23a0f29d1a.tar.bz2
podman-e9298a533adf30c3dd1990098665be23a0f29d1a.zip
Remove SQL state locking and rely on sqlite locking
Also renames some parameters from locksDir -> lockDir for consistency. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r--libpod/runtime_ctr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index 793bb3e65..f314b302f 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -30,7 +30,7 @@ func (r *Runtime) NewContainer(spec *spec.Spec, options ...CtrCreateOption) (c *
return nil, ErrRuntimeStopped
}
- ctr, err := newContainer(spec, r.locksDir)
+ ctr, err := newContainer(spec, r.lockDir)
if err != nil {
return nil, err
}