diff options
author | Sascha Grunert <sgrunert@suse.com> | 2020-10-07 17:00:15 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2020-10-20 17:00:23 +0200 |
commit | f63bbca4dabbedbd7a808600b38f4e2ae55a6c4a (patch) | |
tree | 1ec86f947e1917726ab2c9a9103ddaa670fc2d76 /pkg/channel/doc.go | |
parent | 35b4cb196545eee3b072083e716ad4588e0bb486 (diff) | |
download | podman-f63bbca4dabbedbd7a808600b38f4e2ae55a6c4a.tar.gz podman-f63bbca4dabbedbd7a808600b38f4e2ae55a6c4a.tar.bz2 podman-f63bbca4dabbedbd7a808600b38f4e2ae55a6c4a.zip |
Fix ps port output
When defining multiple ports (same src/dst) like `-p 80:80 -p 443:443`
then podman will not show the complete output on `podman ps` (only
`0.0.0.0:80->80/tcp` in the example). This also applies to port ranges.
This patch refactors the port loop by pre-checking for ranges and
displaying them correctly to the end user.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'pkg/channel/doc.go')
0 files changed, 0 insertions, 0 deletions