prometheus/promql
Bryan Boreham e4a37d0986 Replace select with simpler error check
The documentation for Context states that this is just as good:
	// If Done is not yet closed, Err returns nil.
	// If Done is closed, Err returns a non-nil error

Signed-off-by: Bryan Boreham <bryan@weave.works>
2019-04-10 13:27:45 +01:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
testdata exponentation operator to drop metric name in result of op operation (#5329) 2019-03-12 10:21:42 +00:00
ast.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
bench_test.go Allow promql benchmarks to query more samples (#4770) 2018-10-22 18:02:22 +01:00
engine_test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
engine.go Replace select with simpler error check 2019-04-10 13:27:45 +01:00
functions_test.go WIP: keep track of samples per query, set a max # of samples (#4513) 2018-10-02 12:59:19 +01:00
functions.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
fuzz.go textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
lex_test.go Expose lexer item types (#5358) 2019-03-14 20:53:55 +01:00
lex.go Expose lexer item types (#5358) 2019-03-14 20:53:55 +01:00
parse_test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
parse.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
printer_test.go promql: Remove old and unused alerting/reconding syntax 2018-08-07 15:14:06 +02:00
printer.go *: use latest release of staticcheck (#5057) 2019-01-04 14:47:38 +01:00
promql_test.go
quantile.go In histogram_quantile merge buckets with equivalent le values (#5158) 2019-02-01 10:22:44 +00:00
test_test.go Fix some spelling issues (#5361) 2019-03-14 14:38:54 +00:00
test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
value.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00