Skip to content

Commit

Permalink
removed dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw committed Nov 8, 2023
1 parent 4003ad1 commit a88a4df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flytepropeller/pkg/controller/nodes/array/event_recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte
// only attach input values if taskPhase is QUEUED meaning this the first evaluation
if taskPhase == idlcore.TaskExecution_QUEUED {
if eventConfig.RawOutputPolicy == config.RawOutputPolicyInline {
fmt.Printf("HAMERSAW - FIRST HERE\n")
// pass inputs by value
literalMap, err := nCtx.InputReader().Get(ctx)
if err != nil {
Expand All @@ -140,7 +139,6 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte
InputData: literalMap,
}

Check warning on line 140 in flytepropeller/pkg/controller/nodes/array/event_recorder.go

View check run for this annotation

Codecov / codecov/patch

flytepropeller/pkg/controller/nodes/array/event_recorder.go#L138-L140

Added lines #L138 - L140 were not covered by tests
} else {
fmt.Printf("HAMERSAW - THEN HERE\n")
// pass inputs by reference
taskExecutionEvent.InputValue = &event.TaskExecutionEvent_InputUri{
InputUri: nCtx.InputReader().GetInputPath().String(),
Expand Down

0 comments on commit a88a4df

Please sign in to comment.