From c9bd292b32a6ca4c57a5dd8e9b2cc9ae3272e9b6 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 15 Jan 2021 11:50:23 +0100 Subject: Container rename bindings Add bindings and podman-remote support for container rename. Signed-off-by: Paul Holzinger --- cmd/podman/containers/rename.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmd/podman') 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, }) -- cgit v1.2.3-54-g00ecf