From d608a2afc4289e56fe35af894ff9eb3f56f4fcb4 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 25 May 2023 13:14:16 +0200 Subject: dashboard: include label message into bug reports --- dashboard/dashapi/dashapi.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dashboard/dashapi') diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 6227b6da9..6f6bc81c7 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -439,6 +439,7 @@ type BugReport struct { Assets []Asset Subsystems []BugSubsystem ReportElements *ReportElements + LabelMessages map[string]string // notification messages for bug labels } type ReportElements struct { @@ -530,7 +531,7 @@ type BugUpdate struct { Link string Status BugStatus StatusReason BugStatusReason - Label string // the reported label, if BugNotifLabel + Labels []string // the reported labels ReproLevel ReproLevel DupOf string OnHold bool // If set for open bugs, don't upstream this bug. -- cgit mrf-deployment