Fix typo in comment

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
This commit is contained in:
Guangwen Feng 2021-01-06 17:01:29 +08:00
parent 18ad79d328
commit 3e7bb721d4

View File

@ -108,7 +108,7 @@ func IsNonDistributable(mt string) bool {
strings.HasPrefix(mt, "application/vnd.docker.image.rootfs.foreign.") 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 { func IsLayerType(mt string) bool {
if strings.HasPrefix(mt, "application/vnd.oci.image.layer.") { if strings.HasPrefix(mt, "application/vnd.oci.image.layer.") {
return true return true