Skip to content

Commit

Permalink
Merge pull request #199 from achanda/double_call
Browse files Browse the repository at this point in the history
Fix two issues where settings were not taking effect
  • Loading branch information
dadgar committed Oct 2, 2015
2 parents e943746 + 0ef12a5 commit 1c6861c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/driver/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle
d.logger.Printf("[INFO] driver.docker: created container %s", container.ID)

// Start the container
err = client.StartContainer(container.ID, createHostConfig(task))
err = client.StartContainer(container.ID, container.HostConfig)
if err != nil {
d.logger.Printf("[ERR] driver.docker: starting container %s", container.ID)
return nil, fmt.Errorf("Failed to start container %s", container.ID)
Expand Down

0 comments on commit 1c6861c

Please sign in to comment.