execution: use provided process ID for state
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
13399c1330
commit
7dd69a8597
6 changed files with 25 additions and 12 deletions
|
@ -134,6 +134,7 @@ func (s *Service) StartProcess(ctx context.Context, r *api.StartProcessRequest)
|
|||
}
|
||||
|
||||
process, err := s.executor.StartProcess(ctx, container, StartProcessOpts{
|
||||
ID: r.Process.ID,
|
||||
Spec: spec,
|
||||
Console: r.Console,
|
||||
Stdin: r.Stdin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue