Skip to content

Commit

Permalink
Merge pull request #297 from mergestat/fix-pr-commits-log
Browse files Browse the repository at this point in the history
Fixed log messages for commits from comments to commits
  • Loading branch information
patrickdevivo authored Aug 2, 2022
2 parents ee2c342 + 919c319 commit f9e6e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/internal/github/pr_commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (i *iterPRCommits) Next() (vtab.Row, error) {
i.Options.GitHubPreRequestHook()

l := i.logger().With().Interface("cursor", cursor).Logger()
l.Info().Msgf("fetching page of pr_comments for %s/%s", i.owner, i.name)
l.Info().Msgf("fetching page of pr_commits for %s/%s", i.owner, i.name)
results, err := i.fetchPRCommits(context.Background(), cursor)

i.Options.GitHubPostRequestHook()
Expand Down Expand Up @@ -252,7 +252,7 @@ func NewPRCommitsModule(opts *Options) sqlite.Module {
}

iter := &iterPRCommits{opts, owner, name, number, -1, nil}
iter.logger().Info().Msgf("starting GitHub repo_pr_comment iterator for %s/%s pr : %d", owner, name, number)
iter.logger().Info().Msgf("starting GitHub repo_pr_commit iterator for %s/%s pr : %d", owner, name, number)
return iter, nil
}, vtab.EarlyOrderByConstraintExit(true))
}

0 comments on commit f9e6e48

Please sign in to comment.