Skip to content

Commit

Permalink
Update api/checks/update.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Hexcles <[email protected]>
  • Loading branch information
lukebjerring and Hexcles authored Dec 11, 2018
1 parent ccb58d3 commit da02941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/checks/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func loadMasterRunBefore(ctx context.Context, filter shared.TestRunFilter, headR
one := 1
to := headRun.TimeStart.Add(-time.Millisecond)
labels := mapset.NewSetWith(shared.MasterLabel)
runs, err := shared.LoadTestRuns(ctx, filter.Products, labels, "", nil, &to, &one, nil)
runs, err := shared.LoadTestRuns(ctx, filter.Products, labels, shared.LatestSHA, nil, &to, &one, nil)
baseRun := runs.First()
if err != nil {
return nil, err
Expand Down

0 comments on commit da02941

Please sign in to comment.