mirror of https://github.com/hashicorp/consul
77c972f594
* Fixes agent error handling when check definition is invalid. Distinguishes between empty checks vs invalid checks * Made CheckTypes return Checks from service definition struct rather than a new copy, and other changes from code review. This also errors when json payload contains empty structs * Simplify and improve validate method, and make sure that CheckTypes always returns a new copy of validated check definitions * Tweaks some small style things and error messages. * Updates the change log. |
||
---|---|---|
.. | ||
acl.go | ||
acl_test.go | ||
catalog.go | ||
check_definition.go | ||
check_definition_test.go | ||
check_type.go | ||
errors.go | ||
operator.go | ||
operator_test.go | ||
prepared_query.go | ||
prepared_query_test.go | ||
service_definition.go | ||
service_definition_test.go | ||
snapshot.go | ||
structs.go | ||
structs_test.go | ||
txn.go |