fix(cmd): resolve make gen issue (#5124)

This commit is contained in:
Damian Debkowski authored and GitHub committed 2024-09-20 13:29:26 -07:00
1 parent 40efebf7ab
commit 79bf12bd23
2 files changed
+6 -10

No files matched your search

+3 -5
View File
@@ -58,11 +58,9 @@ const (
WorkerAuthReqFile = "auth_request_token"
)
var (
// This regular expression is used to find all instances of square brackets within a string.
// This regular expression is used to remove the square brackets from an IPv6 address.
squareBrackets = regexp.MustCompile("\\[|\\]")
)
// This regular expression is used to find all instances of square brackets within a string.
// This regular expression is used to remove the square brackets from an IPv6 address.
var squareBrackets = regexp.MustCompile("\\[|\\]")
func init() {
metric.InitializeBuildInfo(prometheus.DefaultRegisterer)