prometheus/promql/parser
Mikel Olasagasti Uranga 9258e40589
parser: fix non-constant format string call (#15835)
Go 1.24 enhanced vet's printf analyzer to report calls of the form
fmt.Printf(s), where s is a non-constant format string, with no other
arguments. This change makes parser tests to fail.

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2025-01-18 13:21:51 +01:00
..
posrange Add warnings (and annotations) to PromQL query results (#12152) 2023-09-14 18:57:31 +02:00
ast.go [FEATURE] PromQL: Add experimental info function MVP (#14495) 2024-10-16 13:52:11 +01:00
functions.go v2.55.0 2024-10-25 14:16:22 +02:00
generated_parser.y parser: fix non-constant format string call (#15835) 2025-01-18 13:21:51 +01:00
generated_parser.y.go parser: fix non-constant format string call (#15835) 2025-01-18 13:21:51 +01:00
lex_test.go Moves TestNativeHistogram_MulDivOperator to promql testing framework (#14688) 2024-08-29 16:42:35 +02:00
lex.go Use a function to determine if an aggregation function is experimental (#15331) 2024-11-15 15:09:50 +01:00
parse_test.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
parse.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
prettier_rules.md Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_test.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
prettier.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
printer_test.go support quoting in grouping label lists 2024-08-01 10:07:12 -04:00
printer.go promql: Fix various UTF-8 bugs related to quoting 2024-12-04 14:18:59 -05:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00