Skip to content

Commit 3e7bb72

Browse files
author
Guangwen Feng
committed
Fix typo in comment
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
1 parent 18ad79d commit 3e7bb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/mediatypes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func IsNonDistributable(mt string) bool {
108108
strings.HasPrefix(mt, "application/vnd.docker.image.rootfs.foreign.")
109109
}
110110

111-
// IsLayerTypes returns true if the media type is a layer
111+
// IsLayerType returns true if the media type is a layer
112112
func IsLayerType(mt string) bool {
113113
if strings.HasPrefix(mt, "application/vnd.oci.image.layer.") {
114114
return true

0 commit comments

Comments
 (0)