parent
2f7d5d4bf9
commit
8e2e26c607
|
@ -332,7 +332,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (*StartResponse,
|
|||
|
||||
// Inject environment variables
|
||||
for k, v := range ctx.TaskEnv.Map() {
|
||||
cmdArgs = append(cmdArgs, fmt.Sprintf("--set-env=%v=%q", k, v))
|
||||
cmdArgs = append(cmdArgs, fmt.Sprintf("--set-env=%s=%s", k, v))
|
||||
}
|
||||
|
||||
// Check if the user has overridden the exec command.
|
||||
|
|
Loading…
Reference in New Issue