Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-bone committed Oct 21, 2020
1 parent 62654cb commit c7564c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testgrid/cmd/configurator/prow.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const testgridNumColumnsRecentAnnotation = "testgrid-num-columns-recent"
const testgridAlertStaleResultsHoursAnnotation = "testgrid-alert-stale-results-hours"
const testgridNumFailuresToAlertAnnotation = "testgrid-num-failures-to-alert"
const testgridDaysOfResultsAnnotation = "testgrid-days-of-results"
const testgridShortTextMetric = "testgrid-short-text-metric"
const testgridInCellMetric = "testgrid-in-cell-metric"
const descriptionAnnotation = "description"
const minPresubmitNumColumnsRecent = 20

Expand Down Expand Up @@ -132,7 +132,7 @@ func applySingleProwjobAnnotations(c *configpb.Configuration, pc *prowConfig.Con
testGroup.DaysOfResults = int32(doraInt)
}

if stm, ok := j.Annotations[testgridShortTextMetric]; ok {
if stm, ok := j.Annotations[testgridInCellMetric]; ok {
testGroup.ShortTextMetric = stm
}

Expand Down

0 comments on commit c7564c1

Please sign in to comment.