diff options
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 50c144dae..8ebea29ac 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -121,6 +121,15 @@ func (dash *Dashboard) JobDone(req *JobDoneReq) error { return dash.query("job_done", req, nil) } +type BuildErrorReq struct { + Build Build + Crash Crash +} + +func (dash *Dashboard) ReportBuildError(req *BuildErrorReq) error { + return dash.query("report_build_error", req, nil) +} + // Crash describes a single kernel crash (potentially with repro). type Crash struct { BuildID string // refers to Build.ID |
