From 1b562b05c51140e3f69bb6f9f6d9c9b604d707f1 Mon Sep 17 00:00:00 2001
From: Matthew Heon <mheon@redhat.com>
Date: Wed, 9 May 2018 17:23:08 -0400
Subject: Add missing newline to podman port

Signed-off-by: Matthew Heon <mheon@redhat.com>

Closes: #741
Approved by: giuseppe
---
 cmd/podman/port.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'cmd')

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 {
-- 
cgit v1.2.3-54-g00ecf