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)
+3 -5
View File
@@ -133,11 +133,9 @@ kms "aead" {
defaultCsp = "default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; frame-src 'self'; font-src 'self'; connect-src 'self'; img-src 'self' data:; style-src 'self'; media-src 'self'; manifest-src 'self'; style-src-attr 'self'; frame-ancestors 'self'"
)
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("\\[|\\]")
// Config is the configuration for the boundary controller
type Config struct {