From d3b8f2b35aaeb30c192d2325b63b8f5b942d4ff8 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 14 Dec 2022 16:45:18 +0100 Subject: 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. --- dashboard/dashapi/dashapi.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dashboard/dashapi') 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 { -- cgit mrf-deployment