set default shim if shim is nil for backward compatibility
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
@@ -307,7 +307,7 @@ func (s *Supervisor) restore() error {
|
||||
continue
|
||||
}
|
||||
id := d.Name()
|
||||
container, err := runtime.Load(s.stateDir, id, s.timeout)
|
||||
container, err := runtime.Load(s.stateDir, id, s.shim, s.timeout)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user