diff options
| author | Taras Madan <tarasmadan@google.com> | 2023-10-26 14:18:21 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2023-10-26 13:05:49 +0000 |
| commit | 72c2392eb8cf0b8eba97cdd94331a2ad5bebacdb (patch) | |
| tree | db2938d2de6a64092e672b916287ccbfbdcc3d17 /dashboard/app/public_json_api.go | |
| parent | 23afc60f9d53873eed6f06fcb586bfb7bb4726a0 (diff) | |
dashboard/app: export ReportLink as a json
Diffstat (limited to 'dashboard/app/public_json_api.go')
| -rw-r--r-- | dashboard/app/public_json_api.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/app/public_json_api.go b/dashboard/app/public_json_api.go index 87ee5663a..159586132 100644 --- a/dashboard/app/public_json_api.go +++ b/dashboard/app/public_json_api.go @@ -39,6 +39,7 @@ type publicAPICrashDescription struct { SyzkallerCommit string `json:"syzkaller-commit,omitempty"` CompilerDescription string `json:"compiler-description,omitempty"` Architecture string `json:"architecture,omitempty"` + CrashReport string `json:"crash-report-link,omitempty"` } func getExtAPIDescrForBugPage(bugPage *uiBugPage) *publicAPIBugDescription { @@ -94,6 +95,7 @@ func getExtAPIDescrForBugPage(bugPage *uiBugPage) *publicAPIBugDescription { SyzkallerCommit: crash.SyzkallerCommit, // TODO: add the CompilerDescription // TODO: add the Architecture + CrashReport: crash.ReportLink, }) } return res |
