summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-05-09 17:23:08 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-10 08:53:28 +0000
commit1b562b05c51140e3f69bb6f9f6d9c9b604d707f1 (patch)
tree93fb776f7922a167fa80c2cbc500bde4b5eb01a2
parent25263558f10b5e2e246b2349b49b1585852d57b6 (diff)
downloadpodman-1b562b05c51140e3f69bb6f9f6d9c9b604d707f1.tar.gz
podman-1b562b05c51140e3f69bb6f9f6d9c9b604d707f1.tar.bz2
podman-1b562b05c51140e3f69bb6f9f6d9c9b604d707f1.zip
Add missing newline to podman port
Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #741 Approved by: giuseppe
-rw-r--r--cmd/podman/port.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/port.go b/cmd/podman/port.go
index 340bf1e9c..9082ec25d 100644
--- a/cmd/podman/port.go
+++ b/cmd/podman/port.go
@@ -133,7 +133,7 @@ func portCmd(c *cli.Context) error {
// We have a match on ports
if v.ContainerPort == int32(userPort) {
if userProto == "" || userProto == v.Protocol {
- fmt.Printf("%s:%d", hostIP, v.HostPort)
+ fmt.Printf("%s:%d\n", hostIP, v.HostPort)
break
}
} else {