Skip to content

Commit

Permalink
Initialize dockerhandle with jobname, taskgroupname, taskname and all…
Browse files Browse the repository at this point in the history
…ocid
  • Loading branch information
Jesus Vazquez committed May 4, 2018
1 parent feeee1b commit 8bc4eb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/driver/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,10 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (*StartRespon
executor: exec,
pluginClient: pluginClient,
logger: d.logger,
jobName: d.DriverContext.jobName,
taskGroupName: d.DriverContext.taskGroupName,
taskName: d.DriverContext.taskName,
allocID: d.DriverContext.allocID,
Image: d.driverConfig.ImageName,
ImageID: d.imageID,
containerID: container.ID,
Expand Down

0 comments on commit 8bc4eb2

Please sign in to comment.