Skip to content

Commit

Permalink
Update executor fixes from swarmkit
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
  • Loading branch information
tonistiigi committed Aug 10, 2016
1 parent 3b555a5 commit 5673c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions daemon/cluster/executor/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ func (c *containerConfig) hostConfig() *enginecontainer.HostConfig {
Resources: c.resources(),
Binds: c.binds(),
Tmpfs: c.tmpfs(),
GroupAdd: c.spec().Groups,
}

if c.task.LogDriver != nil {
Expand Down
2 changes: 1 addition & 1 deletion daemon/cluster/executor/container/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type controller struct {

var _ exec.Controller = &controller{}

// NewController returns a dockerexec runner for the provided task.
// NewController returns a docker exec runner for the provided task.
func newController(b executorpkg.Backend, task *api.Task) (*controller, error) {
adapter, err := newContainerAdapter(b, task)
if err != nil {
Expand Down

0 comments on commit 5673c53

Please sign in to comment.