Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Keck <[email protected]>
  • Loading branch information
fellhorn committed Aug 14, 2023
1 parent cc10b27 commit 352b5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/tasks/pluginmachinery/flytek8s/k8s_resource_adds.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ func GetContextEnvVars(ownerCtx context.Context) []v1.EnvVar {
)
}

if nodeId := contextutils.Value(ownerCtx, contextutils.NodeIDKey); nodeId != "" {
if nodeID := contextutils.Value(ownerCtx, contextutils.NodeIDKey); nodeID != "" {
envVars = append(envVars,
v1.EnvVar{
Name: "FLYTE_INTERNAL_NODE_ID",
Value: nodeId,
Value: nodeID,
},
)
}

Check warning on line 42 in go/tasks/pluginmachinery/flytek8s/k8s_resource_adds.go

View check run for this annotation

Codecov / codecov/patch

go/tasks/pluginmachinery/flytek8s/k8s_resource_adds.go#L36-L42

Added lines #L36 - L42 were not covered by tests
Expand Down

0 comments on commit 352b5d6

Please sign in to comment.