summaryrefslogtreecommitdiffstats
path: root/modules/convert/issue_comment.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-12-10 10:46:31 +0800
committerGitHub <noreply@github.com>2022-12-10 10:46:31 +0800
commit68704532c28cf09db96c988291b2f82c5e615984 (patch)
treec6537092dc11054f96b202fdb957755ed116cd99 /modules/convert/issue_comment.go
parent097d4e30b180eef30600beef2c08095e2571319c (diff)
downloadgitea-68704532c28cf09db96c988291b2f82c5e615984.tar.gz
gitea-68704532c28cf09db96c988291b2f82c5e615984.zip
Rename almost all Ctx functions (#22071)
Diffstat (limited to 'modules/convert/issue_comment.go')
-rw-r--r--modules/convert/issue_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/issue_comment.go b/modules/convert/issue_comment.go
index 983354438a..6044cbcf61 100644
--- a/modules/convert/issue_comment.go
+++ b/modules/convert/issue_comment.go
@@ -149,7 +149,7 @@ func ToTimelineComment(ctx context.Context, c *issues_model.Comment, doer *user_
var err error
repo, err = repo_model.GetRepositoryByID(ctx, c.Label.RepoID)
if err != nil {
- log.Error("GetRepositoryByIDCtx(%d): %v", c.Label.RepoID, err)
+ log.Error("GetRepositoryByID(%d): %v", c.Label.RepoID, err)
return nil
}
}