From 3c044f9267f62b8f7f88c7395ad325df3bf420f5 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 30 Jan 2018 13:19:01 -0600 Subject: Ginkgo Tests: ps, pull, push and rm Migrate ps, pull, push, and rm from bats to ginkgo. Also, fixed a conditional issue with adding ports when an image defines the port and the user wants to override it. Signed-off-by: baude Closes: #277 Approved by: baude --- libpod/runtime_img.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod') diff --git a/libpod/runtime_img.go b/libpod/runtime_img.go index 882174856..a572afcbb 100644 --- a/libpod/runtime_img.go +++ b/libpod/runtime_img.go @@ -312,7 +312,7 @@ func (k *Image) Decompose() error { return nil } // We need to check if the registry name is legit - _, err = net.LookupAddr(k.Registry) + _, err = net.LookupHost(k.Registry) if err == nil { return nil } -- cgit v1.2.3-54-g00ecf