grafana/pkg/tsdb/elasticsearch
Mario Trangoni 88efb87b0d pkg/tsdb/elasticsearch/client/client_test.go: pass context.Background() instead of nil
See,
$ gometalinter --vendor --disable-all --enable=megacheck --disable=gotype --deadline 6m ./...
pkg/tsdb/elasticsearch/client/client_test.go:28:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
pkg/tsdb/elasticsearch/client/client_test.go:39:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
pkg/tsdb/elasticsearch/client/client_test.go:51:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
pkg/tsdb/elasticsearch/client/client_test.go:63:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
pkg/tsdb/elasticsearch/client/client_test.go:76:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
pkg/tsdb/elasticsearch/client/client_test.go:89:25⚠️ do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (SA1012) (megacheck)
2018-10-03 09:59:10 +02:00
..
client pkg/tsdb/elasticsearch/client/client_test.go: pass context.Background() instead of nil 2018-10-03 09:59:10 +02:00
elasticsearch.go elasticsearch: refactor query handling and use new es simple client 2018-05-23 15:09:58 +02:00
models.go elasticsearch: refactor query handling and use new es simple client 2018-05-23 15:09:58 +02:00
response_parser_test.go elasticsearch: refactor query handling and use new es simple client 2018-05-23 15:09:58 +02:00
response_parser.go Fix goconst issues 2018-09-23 21:19:21 +02:00
time_series_query_test.go elasticsearch: minor refactor 2018-05-31 19:02:20 +02:00
time_series_query.go Fix goconst issues 2018-09-23 21:19:21 +02:00