Fix typo in comment
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
This commit is contained in:
parent
18ad79d328
commit
3e7bb721d4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user