aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/dashapi/dashapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/dashapi/dashapi.go')
-rw-r--r--dashboard/dashapi/dashapi.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go
index 21ba8df1a..00d7a9182 100644
--- a/dashboard/dashapi/dashapi.go
+++ b/dashboard/dashapi/dashapi.go
@@ -171,6 +171,10 @@ type ManagerJobs struct {
BisectFix bool
}
+func (m ManagerJobs) Any() bool {
+ return m.TestPatches || m.BisectCause || m.BisectFix
+}
+
type JobPollResp struct {
ID string
Type JobType