Fix restore to correctly set the exec timeout value (containerd)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
7279ff91c4
commit
7979ac24fe
2 changed files with 3 additions and 2 deletions
|
@ -305,7 +305,7 @@ func (s *Supervisor) restore() error {
|
|||
continue
|
||||
}
|
||||
id := d.Name()
|
||||
container, err := runtime.Load(s.stateDir, id)
|
||||
container, err := runtime.Load(s.stateDir, id, s.timeout)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue