This commit is contained in:
Shreyas Goenka 2023-03-09 16:45:40 +01:00
parent db7c1fc0d4
commit 9c5541e1d1
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func (r *pipelineRunner) logErrorEvent(ctx context.Context, pipelineId string, u
var latestEvent *pipelineEvent
// Note: For a 100 percent correct solution we should use the pagination token to find
// a last event which took place for updateId incase it's not present in the first 100 events.
// However the changes of the error event not being present in the last 100 events
// However the probablity of the error event not being present in the last 100 events
// for the pipeline are should be very close 0, and this would not be worth the additional
// complexity and latency cost for that extremely rare edge case
for i := 0; i < len(res.Events); i++ {