From cc2c251549aa339bba0fefed38dba52a1cde5e3a Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 11 Jul 2024 12:23:24 +0200 Subject: dashboard: specify the types of LogToRepro replies --- dashboard/dashapi/dashapi.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dashboard/dashapi/dashapi.go') 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 -- cgit mrf-deployment