Add job, task, taskgroup to open method

This commit is contained in:
Jesus Vazquez 2018-05-21 20:37:18 +02:00
parent 0a062a04c7
commit 23d959e42c
1 changed files with 3 additions and 0 deletions

View File

@ -1778,6 +1778,9 @@ func (d *DockerDriver) Open(ctx *ExecContext, handleID string) (DriverHandle, er
executor: exec, executor: exec,
pluginClient: pluginClient, pluginClient: pluginClient,
logger: d.logger, logger: d.logger,
jobName: d.DriverContext.jobName,
taskGroupName: d.DriverContext.taskGroupName,
taskName: d.DriverContext.taskName,
Image: pid.Image, Image: pid.Image,
ImageID: pid.ImageID, ImageID: pid.ImageID,
containerID: pid.ContainerID, containerID: pid.ContainerID,