🌱 Change the chan to write only (#3793)

- changed the channel to write only

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
This commit is contained in:
Naveen 2024-01-16 16:22:07 -06:00 committed by GitHub
parent 8ac9ca15a3
commit 21edf40ff5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ func runEnabledChecks(ctx context.Context,
repo clients.Repo,
request *checker.CheckRequest,
checksToRun checker.CheckNameToFnMap,
resultsCh chan checker.CheckResult,
resultsCh chan<- checker.CheckResult,
) {
wg := sync.WaitGroup{}
for checkName, checkFn := range checksToRun {