summaryrefslogtreecommitdiff
path: root/libpod/image/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/image/utils.go')
-rw-r--r--libpod/image/utils.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/libpod/image/utils.go b/libpod/image/utils.go
index 661fece07..de85ca67e 100644
--- a/libpod/image/utils.go
+++ b/libpod/image/utils.go
@@ -12,16 +12,6 @@ import (
"github.com/pkg/errors"
)
-func getTags(nameInput string) (reference.NamedTagged, bool, error) {
- inputRef, err := reference.Parse(nameInput)
- if err != nil {
- return nil, false, errors.Wrapf(err, "unable to obtain tag from input name")
- }
- tagged, isTagged := inputRef.(reference.NamedTagged)
-
- return tagged, isTagged, nil
-}
-
// findImageInRepotags takes an imageParts struct and searches images' repotags for
// a match on name:tag
func findImageInRepotags(search imageParts, images []*Image) (*storage.Image, error) {