aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-05-25 13:14:16 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-05-25 14:59:38 +0200
commitd608a2afc4289e56fe35af894ff9eb3f56f4fcb4 (patch)
tree8092dba0ac1da1d0082c88bc2758254bce7d2aaf /dashboard/dashapi/dashapi.go
parent6b7e906bb1dbb3bd49f58b79b00ea928ade236ba (diff)
dashboard: include label message into bug reports
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go3
1 files changed, 2 insertions, 1 deletions
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.