diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-01-24 16:28:45 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-01-26 11:08:32 +0100 |
| commit | 0d9181eeec1e80722aca2e710b0a1a9d3c7de073 (patch) | |
| tree | b96d203fce05eabd08c6965313d4cf5beb72510a /dashboard/dashapi/dashapi.go | |
| parent | 4589b77c2b3466b784743ec066c96b2908d63615 (diff) | |
dashboard: introduce the update_report API call
The update_report API can be used to re-fill the missing report details
after a crash has already been sent to syzbot.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 17cd8df91..49f586250 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -685,6 +685,16 @@ func (dash *Dashboard) LoadFullBug(req *LoadFullBugReq) (*FullBugInfo, error) { return resp, err } +type UpdateReportReq struct { + BugID string + CrashID int64 + GuiltyFiles *[]string +} + +func (dash *Dashboard) UpdateReport(req *UpdateReportReq) error { + return dash.Query("update_report", req, nil) +} + type ( BugStatus int BugStatusReason string |
