hashicorp / hashicorp/consul

Consul rest api always returns http 200

Open
#2,248 6 comments 0 reactions 0 assignees View on GitHub
theme/api type/bug
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

Hello
Consul Version: Consul v0.6.4
for client and server.

When I query consul on /v1/health/checks/
I get http 200 even for a service that is not present.
I get an empty response. Should this http code not be non 200?
How do i determine a valid service against a invalid one.

Thanks
Bhadri

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.