From 7e6e013df04684fae1ea623c88c172b9ff91436c Mon Sep 17 00:00:00 2001 From: icechen Date: Thu, 6 Jan 2022 17:56:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20message=20=E4=B8=AD=E6=8B=AC=E5=8F=B7?= =?UTF-8?q?=E5=86=85=E6=94=AF=E6=8C=81=E9=80=97=E5=8F=B7(,)=E9=9A=94?= =?UTF-8?q?=E5=BC=80=E7=9A=84=E6=9E=84=E5=BB=BA=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_handler/config_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_handler/config_handler.go b/config_handler/config_handler.go index a64e94e..476fc76 100644 --- a/config_handler/config_handler.go +++ b/config_handler/config_handler.go @@ -176,7 +176,7 @@ func foundAppByMessage(message string) []string { if i >= 0 { j := strings.Index(message[i:], "]") if j >= 0 { - return append([]string{message[i+1 : j+i]}, foundAppByMessage(message[j+i:])...) + return append(strings.Split(message[i+1:j+i], ","), foundAppByMessage(message[j+i:])...) } } return []string{}