From 033d2552a4126278597b710f6513978f25938c3a Mon Sep 17 00:00:00 2001 From: Richard Gomez Date: Tue, 17 Oct 2023 17:35:58 -0400 Subject: [PATCH] fix(github): normalize repo cache --- 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