summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olivere/elastic.v5/ping.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/ping.go')
-rw-r--r--vendor/gopkg.in/olivere/elastic.v5/ping.go2
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 5c2d34f00..a97ddeceb 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", "true")
+ params.Set("pretty", "1")
}
if len(params) > 0 {
url_ += "?" + params.Encode()