summaryrefslogtreecommitdiffstats
path: root/services/pull/review.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/pull/review.go')
-rw-r--r--services/pull/review.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/review.go b/services/pull/review.go
index 111e959a87..cb21d736cf 100644
--- a/services/pull/review.go
+++ b/services/pull/review.go
@@ -127,7 +127,7 @@ func createCodeComment(ctx context.Context, doer *user_model.User, repo *repo_mo
}
gitRepo, closer, err := git.RepositoryFromContextOrOpen(ctx, pr.BaseRepo.RepoPath())
if err != nil {
- return nil, fmt.Errorf("OpenRepository: %v", err)
+ return nil, fmt.Errorf("RepositoryFromContextOrOpen: %v", err)
}
defer closer.Close()