Skip to content

Commit

Permalink
Fix ping method
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Mar 15, 2019
1 parent 24300ba commit 93a2429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (c *HTTPClient) discover() error {

// Ping will do a healthcheck request to the primary node
func (c *HTTPClient) Ping() error {
_, err := c.callPrimary("GET", "/healthcheck", nil)
_, err := c.callPrimary("HEAD", "/healthcheck", nil)
if err != nil {
return err
}
Expand Down

0 comments on commit 93a2429

Please sign in to comment.