mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-17 23:00:29 +00:00
Rename HookQueue to hookQueue (#8778)
* Rename HookQueue to hookQueue * fix lint
This commit is contained in:
1 parent
4b8d9e58c5
commit
f518fe6662
13 files changed
+19
-65
No files matched your search
@@ -28,10 +28,6 @@ func syncAction(opType models.ActionType, repo *models.Repository, refName strin
|
||||
return fmt.Errorf("notifyWatchers: %v", err)
|
||||
}
|
||||
|
||||
defer func() {
|
||||
go webhook.HookQueue.Add(repo.ID)
|
||||
}()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user