Skip to content

Commit 4437c4c

Browse files
committed
Update flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go
Signed-off-by: Fabio M. Graetz, Ph.D. <[email protected]> Signed-off-by: Fabio Graetz <[email protected]>
1 parent 2d870a9 commit 4437c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func newTaskExecutionMetadata(tCtx pluginsCore.TaskExecutionMetadata, taskTmpl *
5959
}
6060

6161
id := tCtx.GetSecurityContext().RunAs.ExecutionIdentity
62-
if id != "" {
62+
if len(id) > 0 {
6363
injectLabels[executionIdentityVariable] = id
6464
}
6565

0 commit comments

Comments
 (0)