remove unused variables detected by varcheck

This commit is contained in:
Mario Trangoni
2018-04-18 19:04:37 +02:00
parent 4ddd15d921
commit c1742df9ac
6 changed files with 2 additions and 16 deletions

View File

@@ -101,7 +101,3 @@ func sendWebRequestSync(ctx context.Context, webhook *Webhook) error {
webhookLog.Debug("Webhook failed", "statuscode", resp.Status, "body", string(body))
return fmt.Errorf("Webhook response status %v", resp.Status)
}
var addToWebhookQueue = func(msg *Webhook) {
webhookQueue <- msg
}