summaryrefslogtreecommitdiff
path: root/libpod/image/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r--libpod/image/image.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go
index 7ea851f5d..0e236503d 100644
--- a/libpod/image/image.go
+++ b/libpod/image/image.go
@@ -1074,9 +1074,3 @@ func (i *Image) Comment(ctx context.Context, manifestType string) (string, error
}
return ociv1Img.History[0].Comment, nil
}
-
-// HasShaInInputName returns a bool as to whether the user provide an image name that includes
-// a reference to a specific sha
-func (i *Image) HasShaInInputName() bool {
- return strings.Contains(i.InputName, "@sha256:")
-}