Skip to content

Commit f3b6fb9

Browse files
authored
Merge pull request #90 from q384566678/add-layers
manifest.go:remove the size of the layers of judgment
2 parents 2bea7d4 + 0bd95b9 commit f3b6fb9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

image/manifest.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ func findManifest(w walker, d *descriptor) (*manifest, error) {
5959
return err
6060
}
6161

62-
if len(m.Layers) == 0 {
63-
return fmt.Errorf("%s: no layers found", path)
64-
}
65-
6662
return errEOW
6763
}); err {
6864
case nil:

0 commit comments

Comments
 (0)