summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-01-15 11:50:23 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-01-15 12:57:22 +0100
commitc9bd292b32a6ca4c57a5dd8e9b2cc9ae3272e9b6 (patch)
tree4fec373f34beb3460facf2954916fb8aed3934ae /cmd/podman
parent3fcf346890c0437611fc18c30d58cc2d9f61fe6c (diff)
downloadpodman-c9bd292b32a6ca4c57a5dd8e9b2cc9ae3272e9b6.tar.gz
podman-c9bd292b32a6ca4c57a5dd8e9b2cc9ae3272e9b6.tar.bz2
podman-c9bd292b32a6ca4c57a5dd8e9b2cc9ae3272e9b6.zip
Container rename bindings
Add bindings and podman-remote support for container rename. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/containers/rename.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/podman/containers/rename.go b/cmd/podman/containers/rename.go
index 9c94e6272..b6c4f792c 100644
--- a/cmd/podman/containers/rename.go
+++ b/cmd/podman/containers/rename.go
@@ -32,14 +32,13 @@ var (
)
func init() {
- // TODO: Once bindings are done, add this to TunnelMode
registry.Commands = append(registry.Commands, registry.CliCommand{
- Mode: []entities.EngineMode{entities.ABIMode},
+ Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode},
Command: renameCommand,
})
registry.Commands = append(registry.Commands, registry.CliCommand{
- Mode: []entities.EngineMode{entities.ABIMode},
+ Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode},
Command: containerRenameCommand,
Parent: containerCmd,
})