aboutsummaryrefslogtreecommitdiffstats
path: root/modules/webhook/deliver.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webhook/deliver.go')
-rw-r--r--modules/webhook/deliver.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webhook/deliver.go b/modules/webhook/deliver.go
index 1b3da25d5e..54f20171fa 100644
--- a/modules/webhook/deliver.go
+++ b/modules/webhook/deliver.go
@@ -159,9 +159,9 @@ func DeliverHooks() {
}
// Start listening on new hook requests.
- for repoIDStr := range HookQueue.Queue() {
+ for repoIDStr := range hookQueue.Queue() {
log.Trace("DeliverHooks [repo_id: %v]", repoIDStr)
- HookQueue.Remove(repoIDStr)
+ hookQueue.Remove(repoIDStr)
repoID, err := com.StrTo(repoIDStr).Int64()
if err != nil {