Skip to content

Commit

Permalink
Merge pull request #930 from blalor/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary --interactive flag
  • Loading branch information
dadgar committed Mar 17, 2016
2 parents a93f96a + f7023a3 commit ccee560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/driver/rkt.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
insecure = true
}

cmdArgs = append(cmdArgs, "run", "--interactive")
cmdArgs = append(cmdArgs, "run")
cmdArgs = append(cmdArgs, fmt.Sprintf("--volume=%s,kind=host,source=%s", task.Name, ctx.AllocDir.SharedDir))
cmdArgs = append(cmdArgs, fmt.Sprintf("--mount=volume=%s,target=%s", task.Name, ctx.AllocDir.SharedDir))
cmdArgs = append(cmdArgs, img)
Expand Down

0 comments on commit ccee560

Please sign in to comment.