diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-12 06:34:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 06:34:26 -0700 |
commit | 46cf421ed73315436aab4aba8ca47ba6a50339d3 (patch) | |
tree | 12ef7acc9ac9da9ec9c674b4c1d39aaafff37daa /cmd/podman | |
parent | 07f775d161ef642cbbe5dc98071aa04d9312b17e (diff) | |
parent | a36e8d8eaa94458325afe19d7af7f29bf7fffbcd (diff) | |
download | podman-46cf421ed73315436aab4aba8ca47ba6a50339d3.tar.gz podman-46cf421ed73315436aab4aba8ca47ba6a50339d3.tar.bz2 podman-46cf421ed73315436aab4aba8ca47ba6a50339d3.zip |
Merge pull request #6181 from baude/v2remoteport
add port to podman remote command
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/containers/port.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/containers/port.go b/cmd/podman/containers/port.go index ec0ddf838..d058a6aaf 100644 --- a/cmd/podman/containers/port.go +++ b/cmd/podman/containers/port.go @@ -57,7 +57,7 @@ func portFlags(flags *pflag.FlagSet) { func init() { registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode}, + Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: portCommand, }) @@ -65,7 +65,7 @@ func init() { portFlags(flags) registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode}, + Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: containerPortCommand, Parent: containerCmd, }) |