Skip to content

Commit a90b84a

Browse files
committed
Rkt env var
1 parent 449273f commit a90b84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/driver/rkt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
288288
// Inject environment variables
289289
d.taskEnv.SetAllocDir(allocdir.SharedAllocContainerPath)
290290
d.taskEnv.SetTaskLocalDir(allocdir.TaskLocalContainerPath)
291-
d.taskEnv.SetTaskLocalDir(allocdir.TaskSecretsContainerPath)
291+
d.taskEnv.SetSecretsDir(allocdir.TaskSecretsContainerPath)
292292
d.taskEnv.Build()
293293
for k, v := range d.taskEnv.EnvMap() {
294294
cmdArgs = append(cmdArgs, fmt.Sprintf("--set-env=%v=%v", k, v))

0 commit comments

Comments
 (0)