diff options
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/ping.go')
-rw-r--r-- | vendor/gopkg.in/olivere/elastic.v5/ping.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/ping.go b/vendor/gopkg.in/olivere/elastic.v5/ping.go index a97ddeceb..5c2d34f00 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/ping.go +++ b/vendor/gopkg.in/olivere/elastic.v5/ping.go @@ -86,7 +86,7 @@ func (s *PingService) Do(ctx context.Context) (*PingResult, int, error) { params.Set("timeout", s.timeout) } if s.pretty { - params.Set("pretty", "1") + params.Set("pretty", "true") } if len(params) > 0 { url_ += "?" + params.Encode() |