We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cd063d3
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
es 用户密码 链接401 serivce if global.Cfg().ElsUser != "" && global.Cfg().ElsPassword != "" { options = append(options, elastic.SetBasicAuth(global.Cfg().ElsUser, global.Cfg().Password)) } 其中global.Cfg().Password 是否 改成 global.Cfg().ElsPassword
Sorry, something went wrong.
cd063d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
es 用户密码 链接401 serivce
if global.Cfg().ElsUser != "" && global.Cfg().ElsPassword != "" {
options = append(options, elastic.SetBasicAuth(global.Cfg().ElsUser, global.Cfg().Password))
}
其中global.Cfg().Password 是否 改成 global.Cfg().ElsPassword