open-consul/agent/local
Jared Kirschner a9371f18e5 Clarify service and check error messages (use ID)
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 %q
2022-01-04 11:42:37 -08:00
..
state.go Clarify service and check error messages (use ID) 2022-01-04 11:42:37 -08:00
state_test.go Clarify service and check error messages (use ID) 2022-01-04 11:42:37 -08:00
testing.go Fix a bunch of linter warnings 2020-11-09 09:22:12 -05:00