mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-12-23 14:00:30 +00:00
Fix the test for bad regexes
This test did not fail because the regex was bad, it failed because yaml parsing failed. This fixes the yaml which uncovers a panic in initFromYAMLString.
This commit is contained in:
parent
745e53700f
commit
d1f7ca4239
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ mappings:
|
||||||
{
|
{
|
||||||
config: `---
|
config: `---
|
||||||
mappings:
|
mappings:
|
||||||
- match: "*\.foo"
|
- match: "*\\.foo"
|
||||||
match_type: regex
|
match_type: regex
|
||||||
name: "foo"
|
name: "foo"
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
Loading…
Reference in a new issue