Options for health endpoint are missing / incorrect
defsprite opened this issue · 4 comments
defsprite commented
According to https://www.consul.io/docs/agent/http/health.html the possible parameters for /v1/health/service/:service
are:
dc
(implemented correctly)near
(missing)passing
(implemented asstate
, which does not seem to work)
I am trying to filter only healthy nodes for a service, which does not seem to work without client-side post-processing.
Am I missing something? Is this version specific?
taharah commented
I just saw this issue. I recently created a PR to fix another issue I found with the health endpoint that returns Hashes instead of OpenStructs as stated in the documentation. I'll add this to the PR as well.
taharah commented
PR has been merged.