drivers/exec: pass capabilities through executor RPC

Add capabilities to the LaunchRequest proto so that the
capabilities set actually gets plumbed all the way through
to task launch.
This commit is contained in:
Seth Hoenig
2021-05-16 10:06:03 -06:00
parent 683751ddd6
commit 595cef8136
8 changed files with 85 additions and 68 deletions

View File

@@ -491,6 +491,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive
if err != nil {
return nil, nil, err
}
d.logger.Debug("task capabilities", "capabilities", caps)
execCmd := &executor.ExecCommand{
Cmd: absPath,