summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-05-06 14:54:02 -0500
committerbaude <bbaude@redhat.com>2019-05-06 14:54:02 -0500
commitd370f10efa00e8e44f451d003f35ae6b2e3caead (patch)
tree6b52887158a33ae002af7052711b5f7e9ac214c2 /cmd
parentb12d15637cf36ddf8d15216b72ebb3b774765162 (diff)
downloadpodman-d370f10efa00e8e44f451d003f35ae6b2e3caead.tar.gz
podman-d370f10efa00e8e44f451d003f35ae6b2e3caead.tar.bz2
podman-d370f10efa00e8e44f451d003f35ae6b2e3caead.zip
remote-podman checkpoint and restore add to container submenu
the remote-podman checkpoint and restore commands were done some time ago but for some reason not added to the container subcommand Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/commands.go2
-rw-r--r--cmd/podman/container.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go
index 14451d944..3a409f503 100644
--- a/cmd/podman/commands.go
+++ b/cmd/podman/commands.go
@@ -39,13 +39,11 @@ func getImageSubCommands() []*cobra.Command {
func getContainerSubCommands() []*cobra.Command {
return []*cobra.Command{
- _checkpointCommand,
_cleanupCommand,
_commitCommand,
_execCommand,
_mountCommand,
_refreshCommand,
- _restoreCommand,
_runlabelCommand,
_statsCommand,
_umountCommand,
diff --git a/cmd/podman/container.go b/cmd/podman/container.go
index bbf01d1f8..530175a55 100644
--- a/cmd/podman/container.go
+++ b/cmd/podman/container.go
@@ -51,6 +51,7 @@ var (
// Commands that are universally implemented.
containerCommands = []*cobra.Command{
_attachCommand,
+ _checkpointCommand,
_containerExistsCommand,
_contInspectSubCommand,
_diffCommand,
@@ -64,6 +65,7 @@ var (
_portCommand,
_pruneContainersCommand,
_restartCommand,
+ _restoreCommand,
_runCommand,
_rmCommand,
_startCommand,