Skip to content

Commit

Permalink
Merge pull request #85 from q384566678/test-layers
Browse files Browse the repository at this point in the history
config.go:Drop local rootfs.type validation
  • Loading branch information
xiekeyang authored Nov 18, 2016
2 parents 709b1a9 + 3aaa0b8 commit b082914
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions image/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ func findConfig(w walker, d *descriptor) (*config, error) {
if err := json.Unmarshal(buf, &c); err != nil {
return err
}
// check if the rootfs type is 'layers'
if c.RootFS.Type != "layers" {
return fmt.Errorf("%q is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
}

return errEOW
}); err {
case nil:
Expand Down

0 comments on commit b082914

Please sign in to comment.