mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech: replace context.TODO with background ctx
This commit is contained in:
@@ -37,7 +37,7 @@ func processWebhookQueue() {
|
||||
for {
|
||||
select {
|
||||
case webhook := <-webhookQueue:
|
||||
err := sendWebRequestSync(context.TODO(), webhook)
|
||||
err := sendWebRequestSync(context.Background(), webhook)
|
||||
|
||||
if err != nil {
|
||||
webhookLog.Error("Failed to send webrequest ", "error", err)
|
||||
|
||||
Reference in New Issue
Block a user