mirror of https://github.com/hashicorp/consul
Browse Source
Error messages related to service and check operations previously included the following substrings: - service %q - check %q From this error message, it isn't clear that the expected field is the ID for the entity, not the name. For example, if the user has a service named test, the error message would read 'Unknown service "test"'. This is misleading - a service with that *name* does exist, but not with that *ID*. The substrings above have been modified to make it clear that ID is needed, not name: - service with ID %q - check with ID %qpull/10894/head
Jared Kirschner
3 years ago
7 changed files with 61 additions and 15 deletions
@ -0,0 +1,3 @@
|
||||
```release-note:improvement |
||||
api: Improve error message if service or health check not found by stating that the entity must be referred to by ID, not name |
||||
``` |
Loading…
Reference in new issue