some refactor about code comments (#20821)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2023-01-17 15:03:44 -06:00
1 parent 60c4725cc2
commit db2286bbb6
7 files changed
+258 -186

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ func checkForInvalidation(ctx context.Context, requests issues_model.PullRequest
}
go func() {
// FIXME: graceful: We need to tell the manager we're doing something...
err := requests.InvalidateCodeComments(ctx, doer, gitRepo, branch)
err := InvalidateCodeComments(ctx, requests, doer, gitRepo, branch)
if err != nil {
log.Error("PullRequestList.InvalidateCodeComments: %v", err)
}