1
0
Fork 0
forked from forgejo/forgejo

Rename HookQueue to hookQueue (#8778)

* Rename HookQueue to hookQueue

* fix lint
This commit is contained in:
Lunny Xiao 2019-11-02 10:35:12 +08:00 committed by GitHub
parent 4b8d9e58c5
commit f518fe6662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 19 additions and 65 deletions

View file

@ -369,8 +369,6 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor
Sender: doer.APIFormat(),
}); err != nil {
log.Error("PrepareWebhooks: %v", err)
} else {
go webhook.HookQueue.Add(pr.Issue.Repo.ID)
}
return nil