Skip to content

Commit 1971976

Browse files
author
zhouhao
committed
manifest.go: Remove the extra judgment for layers
Signed-off-by: zhouhao <[email protected]>
1 parent 421458f commit 1971976

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
@@ -107,10 +107,6 @@ func (m *manifest) unpack(w walker, dest string) (retErr error) {
107107
}
108108
}()
109109
for _, d := range m.Layers {
110-
if d.MediaType != string(schema.MediaTypeImageLayer) {
111-
continue
112-
}
113-
114110
switch err := w.walk(func(path string, info os.FileInfo, r io.Reader) error {
115111
if info.IsDir() {
116112
return nil

0 commit comments

Comments
 (0)