Skip to content

Commit

Permalink
Update flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Graetz, Ph.D. <[email protected]>
  • Loading branch information
fg91 authored Jan 4, 2024
1 parent 77f2d7a commit 2a6a3a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func newTaskExecutionMetadata(tCtx pluginsCore.TaskExecutionMetadata, taskTmpl *
}

id := tCtx.GetSecurityContext().RunAs.ExecutionIdentity
if id != "" {
if len(id) > 0 {
injectLabels[executionIdentityVariable] = id
}

Expand Down

0 comments on commit 2a6a3a6

Please sign in to comment.