1
0
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:
Knut Ahlers 2020-01-25 19:54:34 +01:00
parent f27e196d71
commit e4322c2f02
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -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