From 3e7bb721d412b6d93c0ab5dfd965bc6ff271a762 Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Wed, 6 Jan 2021 17:01:29 +0800 Subject: [PATCH] Fix typo in comment Signed-off-by: Guangwen Feng --- images/mediatypes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/mediatypes.go b/images/mediatypes.go index 5402fa407..7ef439190 100644 --- a/images/mediatypes.go +++ b/images/mediatypes.go @@ -108,7 +108,7 @@ func IsNonDistributable(mt string) bool { strings.HasPrefix(mt, "application/vnd.docker.image.rootfs.foreign.") } -// IsLayerTypes returns true if the media type is a layer +// IsLayerType returns true if the media type is a layer func IsLayerType(mt string) bool { if strings.HasPrefix(mt, "application/vnd.oci.image.layer.") { return true