keon94 commented on code in PR #2557:
URL: https://github.com/apache/incubator-devlake/pull/2557#discussion_r925983831
##########
plugins/gitextractor/main.go:
##########
@@ -74,7 +74,7 @@ func main() {
"git extractor",
nil,
)
- repo, err := newGitRepo(subTaskCtx.TaskContext(), storage,
tasks.GitExtractorOptions{
Review Comment:
another (and simpler) solution is to just pass the subtaskCtx directly here,
and change the TaskContext variables/signatures in gitextractor.go and
repo_creator.go to be ExecContext instead (due to polymorphism). I just tested
that and it works.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]