Skip to content

Commit

Permalink
fix nil dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylomiro committed Mar 5, 2024
1 parent 03bc288 commit d315a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actionsmetrics/event_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (reader *EventReader) fetchAndParseWorkflowJobLogs(ctx context.Context, e *
if startedTime == nil {
return &ParseResult{
ExitCode: exitCode,
QueueTime: startedTime.Sub(queuedTime),
QueueTime: time.Duration(0),
RunTime: time.Duration(0),
}, nil

Expand Down

0 comments on commit d315a84

Please sign in to comment.