Skip to content

Commit

Permalink
bugfix: remove extra req_get call
Browse files Browse the repository at this point in the history
  • Loading branch information
zolazhou committed Dec 5, 2015
1 parent bc299a8 commit 9bad0cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/consul/health.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ defmodule Consul.Health do
@spec service(binary, Keyword.t) :: Endpoint.response
def service(id, opts \\ []) do
req_get([@health, @service, id], opts)
|> req_get()
end

@spec state(binary, Keyword.t) :: Endpoint.response
Expand Down

0 comments on commit 9bad0cc

Please sign in to comment.