Skip to content

Commit 76694f1

Browse files
committed
Fix lint
1 parent 4d3883a commit 76694f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/automerge/notify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (n *automergeNotifier) PullReviewDismiss(ctx context.Context, doer *user_mo
4848
StartPRCheckAndAutoMerge(ctx, review.Issue.PullRequest)
4949
}
5050

51-
func (m *automergeNotifier) CreateCommitStatus(ctx context.Context, repo *repo_model.Repository, commit *repository.PushCommit, sender *user_model.User, status *git_model.CommitStatus) {
51+
func (n *automergeNotifier) CreateCommitStatus(ctx context.Context, repo *repo_model.Repository, commit *repository.PushCommit, sender *user_model.User, status *git_model.CommitStatus) {
5252
if status.State.IsSuccess() {
5353
if err := StartPRCheckAndAutoMergeBySHA(ctx, commit.Sha1, repo); err != nil {
5454
log.Error("MergeScheduledPullRequest[repo_id: %d, user_id: %d, sha: %s]: %w", repo.ID, sender.ID, commit.Sha1, err)

0 commit comments

Comments
 (0)