From 36a085eccbd7cca427f66dc226bed01c15c1e1e5 Mon Sep 17 00:00:00 2001 From: yuxh Date: Fri, 28 Oct 2022 16:03:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9es=E6=9C=8D=E5=8A=A1=E7=AB=AF?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- funtion.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/funtion.go b/funtion.go index 3c383ff..22b65f9 100644 --- a/funtion.go +++ b/funtion.go @@ -80,14 +80,14 @@ func GenAliConfig(level Level) *AliLSConfig { } func GenEsConfig(level Level) *EsConfig { - dsn := "http://es-cn-0pp1mm3hq000dnbh4.public.elasticsearch.aliyuncs.com:9200/" + dsn := "http://es-cn-tl32xlfmu00015h34.public.elasticsearch.aliyuncs.com:9200/" if os.Getenv(envkey) == "prod" || os.Getenv(envkey) == "" || os.Getenv(envkey) == "gray" { - dsn = "http://es-cn-0pp1mm3hq000dnbh4.elasticsearch.aliyuncs.com:9200/" + dsn = "http://es-cn-tl32xlfmu00015h34.elasticsearch.aliyuncs.com:9200/" } c := &EsConfig{ Username: "elastic", - Password: "Hellogaore@", + Password: "f0zCXxh6", Dsn: dsn, Level: level, Index: os.Getenv("GRLOG_APP_NAME"),