Skip to content

Commit

Permalink
fix: fix regexp bug
Browse files Browse the repository at this point in the history
  • Loading branch information
derecknowayback committed Oct 7, 2023
1 parent bc7b193 commit 99516f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lorry/binding/custom/custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type HTTPCustom struct {
BaseOperations
}

var perNodeRegx = regexp.MustCompile("[a-zA-Z0-9]+")
var perNodeRegx = regexp.MustCompile("^[^,]*$")

// NewHTTPCustom returns a new HTTPCustom.
func NewHTTPCustom() *HTTPCustom {
Expand Down

0 comments on commit 99516f9

Please sign in to comment.