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

Commit

Permalink
fixed linter
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <daniel@union.ai>
  • Loading branch information
hamersaw committed Sep 5, 2023
1 parent 5614621 commit 04e363b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/tasks/plugins/array/awsbatch/transformer.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,10 @@ func FlyteTaskToBatchInput(ctx context.Context, tCtx pluginCore.TaskExecutionCon
return nil, err
}

Check warning on line 89 in go/tasks/plugins/array/awsbatch/transformer.go

View check run for this annotation

Codecov / codecov/patch

go/tasks/plugins/array/awsbatch/transformer.go#L88-L89

Added lines #L88 - L89 were not covered by tests


if overrideResources := tCtx.TaskExecutionMetadata().GetOverrides().GetResources(); overrideResources != nil {
flytek8s.MergeResources(*overrideResources, res)
}


platformResources := tCtx.TaskExecutionMetadata().GetPlatformResources()
if platformResources == nil {
platformResources = &v1.ResourceRequirements{}
Expand Down

0 comments on commit 04e363b

Please sign in to comment.