Skip to content

Commit b082914

Browse files
authored
Merge pull request opencontainers#85 from q384566678/test-layers
config.go:Drop local rootfs.type validation
2 parents 709b1a9 + 3aaa0b8 commit b082914

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

image/config.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ func findConfig(w walker, d *descriptor) (*config, error) {
5353
if err := json.Unmarshal(buf, &c); err != nil {
5454
return err
5555
}
56-
// check if the rootfs type is 'layers'
57-
if c.RootFS.Type != "layers" {
58-
return fmt.Errorf("%q is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
59-
}
56+
6057
return errEOW
6158
}); err {
6259
case nil:

0 commit comments

Comments
 (0)