Add missing shim value when saving container state.json (containerd)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-05-02 14:01:48 -07:00
parent 5a688c3e28
commit 7279ff91c4

View file

@ -130,6 +130,7 @@ func New(opts ContainerOpts) (Container, error) {
Labels: c.labels, Labels: c.labels,
Runtime: c.runtime, Runtime: c.runtime,
RuntimeArgs: c.runtimeArgs, RuntimeArgs: c.runtimeArgs,
Shim: c.shim,
NoPivotRoot: opts.NoPivotRoot, NoPivotRoot: opts.NoPivotRoot,
}); err != nil { }); err != nil {
return nil, err return nil, err