grafana/pkg/tsdb/elasticsearch/client
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_test.go pkg/tsdb/elasticsearch/client/client_test.go: pass context.Background() instead of nil 2018-10-03 09:59:10 +02:00
client.go pkg/tsdb/elasticsearch/client/client.go: use time.Since instead of time.Now().Sub 2018-09-18 23:42:25 +02:00
index_pattern_test.go elasticsearch: support reversed index patterns 2018-07-26 21:39:02 +02:00
index_pattern.go elasticsearch: support reversed index patterns 2018-07-26 21:39:02 +02:00
models.go move go vet out of scripts and fixing warning (#12552) 2018-07-09 23:25:32 -07:00
search_request_test.go remove unnecessary conversions 2018-07-04 12:16:39 +02:00
search_request.go Fix misspell issues 2018-09-21 11:54:36 +02:00