aboutsummaryrefslogtreecommitdiff
path: root/libpod/runtime_img.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/runtime_img.go')
-rw-r--r--libpod/runtime_img.go2
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
}