summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-24 18:36:20 +0200
committerGitHub <noreply@github.com>2019-06-24 18:36:20 +0200
commita1a4a75abee2c381483a218e1660621ee416ef7c (patch)
tree5e71546462cfe62672e977305b4c325ec58f377c /libpod
parent72260a296c534950d9c899ee907e73b5dd0162f0 (diff)
parentde75b1a2778fa08d50ecf573b3259b32b68912d7 (diff)
downloadpodman-a1a4a75abee2c381483a218e1660621ee416ef7c.tar.gz
podman-a1a4a75abee2c381483a218e1660621ee416ef7c.tar.bz2
podman-a1a4a75abee2c381483a218e1660621ee416ef7c.zip
Merge pull request #3412 from mheon/fix_ps_sync_segfault
Fix a segfault in 'podman ps --sync'
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index ed3e08dc7..370e3e5d9 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -627,6 +627,7 @@ func (c *Container) Batch(batchFunc func(*Container) error) error {
newCtr.config = c.config
newCtr.state = c.state
newCtr.runtime = c.runtime
+ newCtr.ociRuntime = c.ociRuntime
newCtr.lock = c.lock
newCtr.valid = true