1
0
Fork 0
mirror of https://github.com/Luzifer/bind-log-metrics.git synced 2024-12-23 04:21:16 +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)) err = handleRecord(metricBlock, regBlock.FindStringSubmatch(line))
case regQuery.MatchString(line): case regQuery.MatchString(line):
err = handleRecord(metricQuery, regBlock.FindStringSubmatch(line)) err = handleRecord(metricQuery, regQuery.FindStringSubmatch(line))
default: default:
continue continue