watchdog-go: 正規表現を修正

This commit is contained in:
2024-03-11 15:48:32 +09:00
parent 5df3a04812
commit d97885215e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
[Parent]
url = localhost:8080
url = localhost:50051
+1 -1
View File
@@ -21,7 +21,7 @@ type Config struct {
ClientDomain string
}
var regex = regexp.MustCompile(`^[a-zA-Z0-9-_]`)
var regex = regexp.MustCompile(`[^a-zA-Z0-9-_]`)
func main() {
fmt.Println("start gRPC Client.")