Skip to content

Commit

Permalink
fix: 去掉自动增加的空格
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Aug 8, 2024
1 parent e864a5d commit 04d349b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputs/zookeeper/zookeeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
)

var (
versionRE = regexp.MustCompile(` ^ ([0-9]+\.[0-9]+\.[0-9]+).*$`)
versionRE = regexp.MustCompile(`^([0-9]+\.[0-9]+\.[0-9]+).*$`)
metricNameReplacer = strings.NewReplacer("-", "_", ".", "_")
)

Expand Down

0 comments on commit 04d349b

Please sign in to comment.