aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2022-12-14 16:45:18 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2022-12-16 10:22:43 +0100
commitd3b8f2b35aaeb30c192d2325b63b8f5b942d4ff8 (patch)
treed16f4b8234e740024ce085f2f4b83edd14b3a504 /dashboard/dashapi/dashapi.go
parent6f9c033e1ad3dcf5e6f25916177ec7174359ad0f (diff)
dashboard/app: add subsystem tags to the Bug entity
They will be used properly at some later time, for now we'll just keep shortened guilty paths there. Once we have the full subsystem support, all these values will just get overridden by normal names. Return subsystems in BugReports.
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index c90243cb7..89a4dac77 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -400,6 +400,11 @@ type BugReport struct {
BisectCause *BisectResult
BisectFix *BisectResult
Assets []Asset
+ Subsystems []BugSubsystem
+}
+
+type BugSubsystem struct {
+ Name string
}
type Asset struct {