summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 6b470eb4c..0731babb5 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -1547,6 +1547,7 @@ func (c *Container) Batch(batchFunc func(*Container) error) error {
newCtr.config = c.config
newCtr.state = c.state
newCtr.runtime = c.runtime
+ newCtr.lock = c.lock
newCtr.valid = true
newCtr.locked = true