Skip to content

Commit

Permalink
Merge pull request #89 from BenB196/staging
Browse files Browse the repository at this point in the history
Fixed issue with elasticsearch output
  • Loading branch information
BenB196 authored Apr 14, 2020
2 parents 56529ed + 9b99c59 commit 5650d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffsEvent/ffsQuery.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func FFSQuery(configuration config.Config, query config.FFSQuery) {
}

//get elastic info
info, code, err := elasticClient.Ping(query.Elasticsearch.ElasticURL).Do(ctx)
info, code, err := elasticClient.Ping(elasticsearch.Balance(query.Elasticsearch.ElasticURL)).Do(ctx)

if err != nil {
//TODO handle error
Expand Down

0 comments on commit 5650d9c

Please sign in to comment.