From 0bef6cf81266dd7752602c33b2d91bd4281e741e Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Wed, 19 Oct 2022 11:41:42 -0700 Subject: [PATCH] Fix typo which prevented metadata from going to cron job. (#2370) Signed-off-by: Spencer Schrock Signed-off-by: Spencer Schrock Signed-off-by: latortuga --- cron/internal/worker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/internal/worker/main.go b/cron/internal/worker/main.go index d2637d1eb4c..fe6782a1019 100644 --- a/cron/internal/worker/main.go +++ b/cron/internal/worker/main.go @@ -91,7 +91,7 @@ func processRequest(ctx context.Context, logger.Info(fmt.Sprintf("invalid GitHub URL: %v", err)) continue } - repo.AppendMetadata(repo.Metadata()...) + repo.AppendMetadata(repoReq.Metadata...) commitSHA := clients.HeadSHA requiredRequestType := []checker.RequestType{}