summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-15 10:48:27 -0500
committerGitHub <noreply@github.com>2021-01-15 10:48:27 -0500
commit7d3a628c6ba79efa4b0daaff904b6c2b157dcfc5 (patch)
treecb645c61932938bccaed02c9ba73cd4353229d8e /cmd/podman
parent5a166b297339d547d89fbf14248c3aff129eb960 (diff)
parent0688f080b8eeda35cce4f7d217fb2f4635c162c3 (diff)
downloadpodman-7d3a628c6ba79efa4b0daaff904b6c2b157dcfc5.tar.gz
podman-7d3a628c6ba79efa4b0daaff904b6c2b157dcfc5.tar.bz2
podman-7d3a628c6ba79efa4b0daaff904b6c2b157dcfc5.zip
Merge pull request #8982 from Luap99/container-rename-bindings
Container rename bindings
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,
})