Skip to content

Commit 90469f0

Browse files
committed
internal/upload: reject reports of the program built with unstable go
Change-Id: Id40d6ed197e737dc7cd6ed2d4652ae5b64038a14 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/534675 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 788d562 commit 90469f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/upload/reports.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func createReport(start time.Time, expiryDate string, files []string, lastWeek s
184184
// does the uploadConfig want this program?
185185
// if so, copy over the Stacks and Counters
186186
// that the uploadConfig mentions.
187-
if !cfg.HasProgram(p.Program) || !cfg.HasVersion(p.Program, p.Version) {
187+
if !cfg.HasGoVersion(p.GoVersion) || !cfg.HasProgram(p.Program) || !cfg.HasVersion(p.Program, p.Version) {
188188
continue
189189
}
190190
x := &telemetry.ProgramReport{

0 commit comments

Comments
 (0)