Skip to content

Commit 290cb54

Browse files
committed
Error out if no validate layers found during unpacking
Signed-off-by: Lei Jitang <[email protected]>
1 parent 55691e3 commit 290cb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (m *manifest) unpack(w walker, dest string) error {
117117
return err
118118
}
119119
}
120-
return nil
120+
return fmt.Errorf("no validate layers found")
121121
}
122122

123123
func unpackLayer(dest string, r io.Reader) error {

0 commit comments

Comments
 (0)