diff options
author | baude <bbaude@redhat.com> | 2018-01-30 13:19:01 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-01-31 20:23:31 +0000 |
commit | 3c044f9267f62b8f7f88c7395ad325df3bf420f5 (patch) | |
tree | d868f625ff78b5403fa82b9e7f51ffdaa953356a /libpod | |
parent | ecb74aa40641cd322112401a593eaf26458e9d24 (diff) | |
download | podman-3c044f9267f62b8f7f88c7395ad325df3bf420f5.tar.gz podman-3c044f9267f62b8f7f88c7395ad325df3bf420f5.tar.bz2 podman-3c044f9267f62b8f7f88c7395ad325df3bf420f5.zip |
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 <bbaude@redhat.com>
Closes: #277
Approved by: baude
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/runtime_img.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |