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]>
Signed-off-by: Fabio Graetz <[email protected]>
  • Loading branch information
fg91 committed Jan 5, 2024
1 parent 2d870a9 commit 4437c4c
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 4437c4c

Please sign in to comment.