Add process cap support to add process rpc
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
a46c45d05d
commit
44d6a60e7e
4 changed files with 151 additions and 123 deletions
|
@ -73,7 +73,7 @@ func (s *apiServer) AddProcess(ctx context.Context, r *types.AddProcessRequest)
|
|||
Env: r.Env,
|
||||
Cwd: r.Cwd,
|
||||
}
|
||||
setPlatformRuntimeProcessSpecUserFields(r.User, process)
|
||||
setPlatformRuntimeProcessSpecUserFields(r, process)
|
||||
|
||||
if r.Id == "" {
|
||||
return nil, fmt.Errorf("container id cannot be empty")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue