Skip to content

Commit

Permalink
fix: executor.Schedule returns ErrFunctionSkipped when a function is …
Browse files Browse the repository at this point in the history
…paused (#1337)
  • Loading branch information
cdzombak committed May 9, 2024
1 parent 8ba70a5 commit 58dddd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/execution/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func (e *executor) Schedule(ctx context.Context, req execution.ScheduleRequest)
CronSchedule: req.Events[0].GetEvent().CronSchedule(),
})
}
return nil, nil
return nil, ErrFunctionSkipped
}

// span that tells when the function was queued
Expand Down

0 comments on commit 58dddd6

Please sign in to comment.