From d97885215e8cbd54954b415c7169f66a979e1063 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:48:32 +0900 Subject: [PATCH] =?UTF-8?q?watchdog-go:=20=E6=AD=A3=E8=A6=8F=E8=A1=A8?= =?UTF-8?q?=E7=8F=BE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- watchdog-go/config.ini | 2 +- watchdog-go/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/watchdog-go/config.ini b/watchdog-go/config.ini index 042691a..145a1b4 100644 --- a/watchdog-go/config.ini +++ b/watchdog-go/config.ini @@ -1,2 +1,2 @@ [Parent] -url = localhost:8080 \ No newline at end of file +url = localhost:50051 \ No newline at end of file diff --git a/watchdog-go/main.go b/watchdog-go/main.go index 98e4160..b9b852c 100644 --- a/watchdog-go/main.go +++ b/watchdog-go/main.go @@ -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.")