Rename HookQueue to hookQueue (#8778)

* Rename HookQueue to hookQueue

* fix lint
This commit is contained in:
Lunny Xiao authored and GitHub committed 2019-11-02 10:35:12 +08:00
1 parent 4b8d9e58c5
commit f518fe6662
13 files changed
+19 -65

No files matched your search

-4
View File
@@ -112,10 +112,6 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
return fmt.Errorf("NotifyWatchers: %v", err)
}
defer func() {
go webhook.HookQueue.Add(repo.ID)
}()
apiPusher := pusher.APIFormat()
apiRepo := repo.APIFormat(models.AccessModeNone)