Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Graetz <[email protected]>
  • Loading branch information
fg91 committed Mar 8, 2024
1 parent a0c2ed3 commit 343c46c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ func newTaskExecutionMetadata(tCtx pluginsCore.TaskExecutionMetadata, taskTmpl *

id := tCtx.GetSecurityContext().RunAs.ExecutionIdentity
if len(id) > 0 {
sanitizedId := k8sUtils.SanitizeLabelValue(id)
injectLabels[executionIdentityVariable] = sanitizedId
sanitizedID := k8sUtils.SanitizeLabelValue(id)
injectLabels[executionIdentityVariable] = sanitizedID
}

return TaskExecutionMetadata{
Expand Down

0 comments on commit 343c46c

Please sign in to comment.