Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: go/src/infra/monitoring/messages/alerts.go

Issue 1062733009: dispatcher: updates go/infra/monitoring/messages to parse some more json formats (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | go/src/infra/monitoring/messages/buildextract.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/monitoring/messages/alerts.go
diff --git a/go/src/infra/monitoring/messages/alerts.go b/go/src/infra/monitoring/messages/alerts.go
index 69a884290ed33725cceafddb631d50c4db1fff6d..c9dcdc1bf91c1c118beaea5c7f2b8974a35387e1 100644
--- a/go/src/infra/monitoring/messages/alerts.go
+++ b/go/src/infra/monitoring/messages/alerts.go
@@ -76,13 +76,14 @@ type Link struct {
// BuildFailure is an Extension.
type BuildFailure struct {
- Builders []Builder
+ TreeCloser bool
+ Builders []AlertedBuilder
Reasons []Reason
RegressionRanges []RegressionRange `json:"regression_ranges"`
}
-// Builder represents an individual builder.
-type Builder struct {
+// AlertedBuilder represents an individual builder.
+type AlertedBuilder struct {
Name string
URL string
FirstFailure EpochTime `json:"first_failure"`
« no previous file with comments | « no previous file | go/src/infra/monitoring/messages/buildextract.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698