diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-07-11 12:23:24 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-07-22 09:10:35 +0000 |
| commit | cc2c251549aa339bba0fefed38dba52a1cde5e3a (patch) | |
| tree | 01e9c0f3de1c49949d58f49850453dcf8540ca96 /dashboard/dashapi/dashapi.go | |
| parent | e88f2331e7b7b97da8f178078031064a8c57a34f (diff) | |
dashboard: specify the types of LogToRepro replies
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
| -rw-r--r-- | dashboard/dashapi/dashapi.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 871f096ab..4cad5aa87 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -380,9 +380,17 @@ type LogToReproReq struct { BuildID string } +type LogToReproType string + +const ( + ManualLog LogToReproType = "manual" + RetryReproLog LogToReproType = "retry" +) + type LogToReproResp struct { Title string CrashLog []byte + Type LogToReproType } // LogToRepro are crash logs for older bugs that need to be reproduced on the |
