summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olivere/elastic.v5/msearch.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/msearch.go')
-rw-r--r--vendor/gopkg.in/olivere/elastic.v5/msearch.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/msearch.go b/vendor/gopkg.in/olivere/elastic.v5/msearch.go
index 5d0949d9c..ed54d3c2f 100644
--- a/vendor/gopkg.in/olivere/elastic.v5/msearch.go
+++ b/vendor/gopkg.in/olivere/elastic.v5/msearch.go
@@ -78,7 +78,12 @@ func (s *MultiSearchService) Do(ctx context.Context) (*MultiSearchResult, error)
body := strings.Join(lines, "\n") + "\n" // Don't forget trailing \n
// Get response
- res, err := s.client.PerformRequest(ctx, "GET", path, params, body)
+ res, err := s.client.PerformRequest(ctx, PerformRequestOptions{
+ Method: "GET",
+ Path: path,
+ Params: params,
+ Body: body,
+ })
if err != nil {
return nil, err
}