mirror of
https://github.com/Luzifer/bind-log-metrics.git
synced 2024-09-18 19:22:54 +00:00
Fix: Use correct regex
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f27e196d71
commit
e4322c2f02
2
main.go
2
main.go
@ -75,7 +75,7 @@ func main() {
|
||||
err = handleRecord(metricBlock, regBlock.FindStringSubmatch(line))
|
||||
|
||||
case regQuery.MatchString(line):
|
||||
err = handleRecord(metricQuery, regBlock.FindStringSubmatch(line))
|
||||
err = handleRecord(metricQuery, regQuery.FindStringSubmatch(line))
|
||||
|
||||
default:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user