1
0
mirror of https://github.com/prometheus/prometheus synced 2025-03-22 03:06:45 +00:00
prometheus/promql/parser
Mikel Olasagasti Uranga 9258e40589
parser: fix non-constant format string call ()
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 () 2023-09-14 18:57:31 +02:00
ast.go [FEATURE] PromQL: Add experimental info function MVP () 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 () 2025-01-18 13:21:51 +01:00
generated_parser.y.go parser: fix non-constant format string call () 2025-01-18 13:21:51 +01:00
lex_test.go Moves TestNativeHistogram_MulDivOperator to promql testing framework () 2024-08-29 16:42:35 +02:00
lex.go Use a function to determine if an aggregation function is experimental () 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 () 2022-07-07 18:13:36 +05:30
prettier_test.go Prettifier: Add spaces with non-callable keywords () 2022-07-15 00:09:56 +02:00
prettier.go Adds support for prettifying PromQL expression () 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. () 2020-08-02 09:57:38 +01:00