Move containers to file locks from c/storage

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon
2017-11-24 13:39:29 -05:00
parent 750fc239b5
commit abfd18b0db
6 changed files with 117 additions and 39 deletions

View File

@ -30,7 +30,7 @@ func (r *Runtime) NewContainer(spec *spec.Spec, options ...CtrCreateOption) (c *
return nil, ErrRuntimeStopped
}
ctr, err := newContainer(spec)
ctr, err := newContainer(spec, r.locksDir)
if err != nil {
return nil, err
}