summaryrefslogtreecommitdiff
path: root/libpod/image/parts.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/image/parts.go')
-rw-r--r--libpod/image/parts.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpod/image/parts.go b/libpod/image/parts.go
index 07a119c28..bfc708ad7 100644
--- a/libpod/image/parts.go
+++ b/libpod/image/parts.go
@@ -28,10 +28,7 @@ func decompose(input string) (imageParts, error) {
if err != nil {
return parts, err
}
- ntag, isTagged, err := getTags(input)
- if err != nil {
- return parts, err
- }
+ ntag, isTagged := imgRef.(reference.NamedTagged)
if !isTagged {
tag = "latest"
if strings.Contains(input, "@sha256:") {