Skip to content

Find, verify, and analyze leaked credentials

fix(github): normalize repo cache (#1897)

Richard Gomez6ea3a7da4a86
diff --git a/pkg/sources/github/github.go b/pkg/sources/github/github.go
index 656a58f98..cccaedd17 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