execution: "restore" container on service creation
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
73cb78fae3
commit
0fdd2469f6
8 changed files with 90 additions and 36 deletions
|
@ -119,7 +119,10 @@ high performance container runtime
|
|||
}
|
||||
defer nec.Close()
|
||||
|
||||
execService, err := execution.New(executor)
|
||||
ctx := log.WithModule(gocontext.Background(), "containerd")
|
||||
ctx = log.WithModule(ctx, "execution")
|
||||
ctx = events.WithPoster(ctx, events.GetNATSPoster(nec))
|
||||
execService, err := execution.New(ctx, executor)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue