grafana/pkg/tsdb/elasticsearch/client
Kristin Laemmert 8f6877e12a
chore: remove all remaining uses of golang.org/x/net/context (#47564)
* chore: remove all remaining uses of  golang.org/x/net/context

This PR finishes the work started in #47532, replacing all calls to that package with the stdlib context and using http.NewRequestWithContext to include the context where necessary.

Bonus: small formatting fixes to goimports in these files.

closes #44178

* tweak: use context.Background in favor of TODO for tests
2022-04-11 14:20:10 -04:00
..
client_test.go SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
client.go chore: remove all remaining uses of golang.org/x/net/context (#47564) 2022-04-11 14:20:10 -04:00
index_pattern_test.go Plugins: Migrate Elasticsearch to backend plugin SDK (#36132) 2021-07-15 16:45:59 +02:00
index_pattern.go Plugins: Migrate Elasticsearch to backend plugin SDK (#36132) 2021-07-15 16:45:59 +02:00
models.go Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00
search_request_test.go Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00
search_request.go Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00