fix: 修改解析报错

master
wujianhua 1 year ago
parent 10bf349301
commit 267b9986dc
  1. 4
      sls/producer_test.go

@ -12,8 +12,8 @@ var pd *slsProducer
func init() { func init() {
pd = NewSLSProducer( pd = NewSLSProducer(
WithEndpoint("cn-hangzhou.log.aliyuncs.com"), WithEndpoint("cn-hangzhou.log.aliyuncs.com"),
WithAccessKey("-"), // 传入阿里云sls的key WithAccessKey("LTAI5t8H6fmyMPfZ8JsBmcwS"), // 传入阿里云sls的key
WithAccessSecret("-"), // 传入阿里云sls的Secret WithAccessSecret("EyWWwT2pOYRVWueYkc9Nnwy3RisYqC"), // 传入阿里云sls的Secret
) )
} }

Loading…
Cancel
Save