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

Side by Side Diff: go/src/infra/monitoring/messages/alerts.go

Issue 1874053002: [alerts-dispatcher] update to build again :) also fixes a concurrent map access (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: typos Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Package alerts contains structs defined to implement the json format: 5 // Package alerts contains structs defined to implement the json format:
6 // https://docs.google.com/document/d/10MESGzRy9uAy3Y3-PxUcjiuF3BD3FGGmCNvCjqm3W QQ/preview 6 // https://docs.google.com/document/d/10MESGzRy9uAy3Y3-PxUcjiuF3BD3FGGmCNvCjqm3W QQ/preview
7 7
8 package messages 8 package messages
9 9
10 import ( 10 import (
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 type RegressionRange struct { 107 type RegressionRange struct {
108 Repo string `json:"repo"` 108 Repo string `json:"repo"`
109 URL string `json:"url"` 109 URL string `json:"url"`
110 Revisions []string `json:"revisions"` 110 Revisions []string `json:"revisions"`
111 Positions []string `json:"positions"` 111 Positions []string `json:"positions"`
112 } 112 }
113 113
114 // RevisionSummary summarizes some information about a revision. 114 // RevisionSummary summarizes some information about a revision.
115 type RevisionSummary struct { 115 type RevisionSummary struct {
116 GitHash string `json:"git_hash"` 116 GitHash string `json:"git_hash"`
117 Position string `json:"commit_position"`
118 Branch string `json:"branch"`
117 Link string `json:"link"` 119 Link string `json:"link"`
118 Description string `json:"description"` 120 Description string `json:"description"`
119 Author string `json:"author"` 121 Author string `json:"author"`
120 When EpochTime `json:"when"` 122 When EpochTime `json:"when"`
121 } 123 }
OLDNEW
« no previous file with comments | « go/src/infra/monitoring/dispatcher/dispatcher.go ('k') | go/src/infra/monitoring/messages/gatekeeper.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698