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

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