From 42701066e0e3f6901fb882331fd67a02068bdf6a Mon Sep 17 00:00:00 2001 From: Catalin Date: Thu, 18 Jan 2024 15:13:17 +0200 Subject: [PATCH] Fix test run sumaries in runner data --- grpc/server/data.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grpc/server/data.go b/grpc/server/data.go index b4e32fa7..bb138497 100644 --- a/grpc/server/data.go +++ b/grpc/server/data.go @@ -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)}, })