summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpod/image/parts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/image/parts.go b/libpod/image/parts.go
index ab6a86767..b5b05c32d 100644
--- a/libpod/image/parts.go
+++ b/libpod/image/parts.go
@@ -30,7 +30,7 @@ func GetImageBaseName(input string) (string, error) {
if err != nil {
return "", err
}
- splitImageName := strings.Split(decomposedImage.name, "/")
+ splitImageName := strings.Split(decomposedImage.unnormalizedRef.Name(), "/")
return splitImageName[len(splitImageName)-1], nil
}