Skip to content

Commit

Permalink
🐛 add addon reported errors to the dashboard. (#728)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel authored Jul 16, 2024
1 parent 1d3f382 commit 0b2b186
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -934,4 +934,7 @@ func (r *TaskDashboard) With(m *model.Task) {
r.Started = m.Started
r.Terminated = m.Terminated
r.Errors = len(m.Errors)
if m.Report != nil {
r.Errors += len(m.Report.Errors)
}
}

0 comments on commit 0b2b186

Please sign in to comment.