tech: replace context.TODO with background ctx

This commit is contained in:
bergquist
2017-02-24 09:20:28 +01:00
parent e73b306e0c
commit 03354bc49a
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func QueryMetrics(c *middleware.Context, reqDto dtos.MetricRequest) Response {
})
}
resp, err := tsdb.HandleRequest(context.TODO(), request)
resp, err := tsdb.HandleRequest(context.Background(), request)
if err != nil {
return ApiError(500, "Metric request error", err)
}