mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
4bd92921f4
Update the `/agent/check/deregister/` API endpoint to return a 404 HTTP response code when an attempt is made to de-register a check ID that does not exist on the agent. This brings the behavior of /agent/check/deregister/ in line with the behavior of /agent/service/deregister/ which was changed in #10632 to similarly return a 404 when de-registering non-existent services. Fixes #5821
4 lines
89 B
Plaintext
4 lines
89 B
Plaintext
```release-note:improvement
|
|
api: Return 404 when de-registering a non-existent check
|
|
```
|