Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wj596 committed Jul 26, 2021
1 parent 5bf9a0e commit cd063d3
Showing 0 changed files with 0 additions and 0 deletions.

1 comment on commit cd063d3

@ymsun
Copy link

@ymsun ymsun commented on cd063d3 Sep 18, 2021

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

Please sign in to comment.