aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/reporting.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-07 16:20:16 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-16 11:29:36 +0100
commit2f0f5f6d638c8a24c1b8b04ebc9e303d330644cc (patch)
treee577540c32b8f5f45a0b7b5bbf286a180fcab82f /dashboard/app/reporting.go
parent6e13575de15a4d480e4edf604d5f83ca3ee1c64e (diff)
dashboard/app: infer bug subsystems from crashes
After each saved crash, invoke the new pkg/subsystem machinery to infer the subsystem list. Use 5 crashes with biggest priority to base the inference on.
Diffstat (limited to 'dashboard/app/reporting.go')
-rw-r--r--dashboard/app/reporting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go
index 255296216..c96ee6216 100644
--- a/dashboard/app/reporting.go
+++ b/dashboard/app/reporting.go
@@ -559,7 +559,7 @@ func fillBugReport(c context.Context, rep *dashapi.BugReport, bug *Bug, bugRepor
for _, item := range bug.Tags.Subsystems {
rep.Subsystems = append(rep.Subsystems, dashapi.BugSubsystem{Name: item.Name})
rep.Maintainers = email.MergeEmailLists(rep.Maintainers,
- subsystemMaintainers(rep.Namespace, item.Name))
+ subsystemMaintainers(c, rep.Namespace, item.Name))
}
for _, addr := range bug.UNCC {
rep.CC = email.RemoveFromEmailList(rep.CC, addr)