Skip to content

Commit

Permalink
Fix test run sumaries in runner data
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlnmhl committed Jan 18, 2024
1 parent 7fcfa66 commit 4270106
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grpc/server/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ func (s *DataServer) GetRunner(ctx context.Context, r *datav1.GetRunnerRequest)
}

runSummaries, err := s.dbQuerier.RunSummariesForRunner(ctx, s.pgxPool, db.RunSummariesForRunnerParams{
RunnerID: uuid.NullUUID{Valid: true, UUID: runner.ID},
Namespace: ns,
RunnerID: uuid.NullUUID{Valid: true, UUID: runner.ID},
// TODO Configure default + query param handling
ScheduledAfter: sql.NullTime{Valid: true, Time: s.clock.Now().Add(-24 * time.Hour)},
})
Expand Down

0 comments on commit 4270106

Please sign in to comment.