mirror of
https://github.com/Luzifer/bind-log-metrics.git
synced 2024-11-09 16:30:00 +00:00
Fix: Use correct regex
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
f27e196d71
commit
e4322c2f02
1 changed files with 1 additions and 1 deletions
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 a new issue