diff options
author | Adrian Reber <areber@redhat.com> | 2020-05-14 12:20:03 +0000 |
---|---|---|
committer | Adrian Reber <areber@redhat.com> | 2020-05-14 14:29:04 +0200 |
commit | 7c7f4dbb517a2dd678d46833b7ac409a874a37a6 (patch) | |
tree | 6ad1b428da0e4f575aff9e974f9dd468a4653ba9 /pkg/domain/infra/tunnel | |
parent | f2f0de430d7545d19ef9505d7f6d8ef46a0d36b9 (diff) | |
download | podman-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/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 028e3bc5f..fab04bfda 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -267,7 +267,7 @@ func (ic *ContainerEngine) ContainerCheckpoint(ctx context.Context, namesOrIds [ } } for _, c := range ctrs { - report, err := containers.Checkpoint(ic.ClientCxt, c.ID, &options.Keep, &options.LeaveRuninng, &options.TCPEstablished, &options.IgnoreRootFS, &options.Export) + report, err := containers.Checkpoint(ic.ClientCxt, c.ID, &options.Keep, &options.LeaveRunning, &options.TCPEstablished, &options.IgnoreRootFS, &options.Export) if err != nil { reports = append(reports, &entities.CheckpointReport{Id: c.ID, Err: err}) } |