From 6ea3a7da4a868b9e1375f038a65da0e8d1112a9f Mon Sep 17 00:00:00 2001 From: Richard Gomez <32133502+rgmz@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:07:47 -0400 Subject: [PATCH] fix(github): normalize repo cache (#1897) --- pkg/sources/github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sources/github/github.go b/pkg/sources/github/github.go index 656a58f9880a..cccaedd1729a 100644 --- a/pkg/sources/github/github.go +++ b/pkg/sources/github/github.go @@ -233,7 +233,7 @@ func (s *Source) Init(aCtx context.Context, name string, jobID sources.JobID, so aCtx.Logger().Error(err, "invalid repository", "repo", repo) continue } - s.filteredRepoCache.Set(r, r) + s.filteredRepoCache.Set(repo, r) } s.includeIssueComments = s.conn.IncludeIssueComments