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 /cmd | |
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 'cmd')
-rw-r--r-- | cmd/podman/containers/checkpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/checkpoint.go b/cmd/podman/containers/checkpoint.go index 7259ed38b..c4723af21 100644 --- a/cmd/podman/containers/checkpoint.go +++ b/cmd/podman/containers/checkpoint.go @@ -45,7 +45,7 @@ func init() { }) flags := checkpointCommand.Flags() flags.BoolVarP(&checkpointOptions.Keep, "keep", "k", false, "Keep all temporary checkpoint files") - flags.BoolVarP(&checkpointOptions.LeaveRuninng, "leave-running", "R", false, "Leave the container running after writing checkpoint to disk") + flags.BoolVarP(&checkpointOptions.LeaveRunning, "leave-running", "R", false, "Leave the container running after writing checkpoint to disk") flags.BoolVar(&checkpointOptions.TCPEstablished, "tcp-established", false, "Checkpoint a container with established TCP connections") flags.BoolVarP(&checkpointOptions.All, "all", "a", false, "Checkpoint all running containers") flags.BoolVarP(&checkpointOptions.Latest, "latest", "l", false, "Act on the latest container podman is aware of") |