Merge pull request #4909 from fenggw-fnst/work

Fix typo in comment
This commit is contained in:
Maksym Pavlenko 2021-01-06 10:26:49 -08:00 committed by GitHub
commit 092f9e607a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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