Revert "Merge pull request #853 from AkihiroSuda/check-rootfs"

This reverts commit c1530b5b76, reversing
changes made to 3695ba77bb.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2017-05-16 13:55:41 -07:00
parent 6a7aea6fb1
commit dd16c0583b
2 changed files with 0 additions and 7 deletions

View File

@@ -123,9 +123,6 @@ func (r *Runtime) Create(ctx context.Context, id string, opts plugin.CreateOpts)
Options: m.Options,
})
}
if len(sopts.Rootfs) == 0 {
return nil, fmt.Errorf("no rootfs was specified for id %s", id)
}
if _, err = s.Create(ctx, sopts); err != nil {
os.RemoveAll(path)
return nil, err