Skip to content

Commit

Permalink
fix ping
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Treacy committed Feb 9, 2011
1 parent 2a08158 commit fd95e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http_client.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class HttpClient extends Client
ping: () ->
[options, callback] = @ensure arguments
meta = new Meta '', '', raw: 'ping'
@execute 'HEAD', meta, callback
@execute 'HEAD', meta, (err) -> callback(null, !err?)

stats: () ->
[options, callback] = @ensure arguments
Expand Down

0 comments on commit fd95e5a

Please sign in to comment.