Skip to content

Commit 0bd95b9

Browse files
author
zhouhao
committed
manifest.go:remove the size of the layers of judgment
Signed-off-by: zhouhao <[email protected]>
1 parent 121b8c9 commit 0bd95b9

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)