Skip to content

Commit 0b2b186

Browse files
authored
🐛 add addon reported errors to the dashboard. (#728)
Signed-off-by: Jeff Ortel <[email protected]>
1 parent 1d3f382 commit 0b2b186

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/task.go

+3
Original file line numberDiff line numberDiff line change
@@ -934,4 +934,7 @@ func (r *TaskDashboard) With(m *model.Task) {
934934
r.Started = m.Started
935935
r.Terminated = m.Terminated
936936
r.Errors = len(m.Errors)
937+
if m.Report != nil {
938+
r.Errors += len(m.Report.Errors)
939+
}
937940
}

0 commit comments

Comments
 (0)