aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go8
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