summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/image/pull.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/libpod/image/pull.go b/libpod/image/pull.go
index 3bfbc912c..cb2de8fc2 100644
--- a/libpod/image/pull.go
+++ b/libpod/image/pull.go
@@ -326,13 +326,3 @@ func (i *Image) createNamesToPull() ([]*pullStruct, error) {
return pullNames, nil
}
-
-// isShortName returns a bool response if the input image name has a registry
-// name in it or not
-func (i *Image) isShortName() (bool, error) {
- decomposedImage, err := decompose(i.InputName)
- if err != nil {
- return false, err
- }
- return decomposedImage.hasRegistry, nil
-}