summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2020-05-14 12:20:03 +0000
committerAdrian Reber <areber@redhat.com>2020-05-14 14:29:04 +0200
commit7c7f4dbb517a2dd678d46833b7ac409a874a37a6 (patch)
tree6ad1b428da0e4f575aff9e974f9dd468a4653ba9 /pkg/domain/infra/abi
parentf2f0de430d7545d19ef9505d7f6d8ef46a0d36b9 (diff)
downloadpodman-7c7f4dbb517a2dd678d46833b7ac409a874a37a6.tar.gz
podman-7c7f4dbb517a2dd678d46833b7ac409a874a37a6.tar.bz2
podman-7c7f4dbb517a2dd678d46833b7ac409a874a37a6.zip
Fix checkpoint --leave-running
There was typo in the variable name and in one place it was not correctly passed to the next layer. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi')
-rw-r--r--pkg/domain/infra/abi/containers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go
index 249e8147c..035efe575 100644
--- a/pkg/domain/infra/abi/containers.go
+++ b/pkg/domain/infra/abi/containers.go
@@ -434,6 +434,7 @@ func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds [
TCPEstablished: options.TCPEstablished,
TargetFile: options.Export,
IgnoreRootfs: options.IgnoreRootFS,
+ KeepRunning: options.LeaveRunning,
}
if options.All {