es地址切换
This commit is contained in:
parent
7f14b6cf53
commit
1db0342973
4
main.go
4
main.go
@ -190,9 +190,9 @@ func main() {
|
|||||||
// "7AYdoW=mn3yHZ*3A=Z1x",
|
// "7AYdoW=mn3yHZ*3A=Z1x",
|
||||||
//)
|
//)
|
||||||
esClient, err := es.NewESClient(
|
esClient, err := es.NewESClient(
|
||||||
[]string{"http://36.212.1.63:9200"},
|
[]string{"http://36.212.12.92:9527"},
|
||||||
"elastic",
|
"elastic",
|
||||||
"zDzSXel3PFwx9=6Ybmqva",
|
"+Tz5qR_KushZ-bPgZ_H-",
|
||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user