watchdog-go: 正規表現を修正

This commit is contained in:
usbharu 2024-03-11 15:48:32 +09:00
parent 5df3a04812
commit d97885215e
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
[Parent]
url = localhost:8080
url = localhost:50051

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.")