a30fac8a89
The logic in parsing data files and converting them to data structures accidentally removed healthchecks with no Name field, even though we explicitly state in API documentation that is allowed. We remove the check for "len(results.Checks) == 1" because if the length of the array is more than 0, we know that it is not a zero value array. This allows us to register a singular, unnamed check via the CLI. Fixes #6796 |
||
---|---|---|
.. | ||
acl | ||
agent | ||
catalog | ||
config | ||
connect | ||
debug | ||
event | ||
exec | ||
flags | ||
forceleave | ||
helpers | ||
info | ||
intention | ||
join | ||
keygen | ||
keyring | ||
kv | ||
leave | ||
lock | ||
login | ||
logout | ||
maint | ||
members | ||
monitor | ||
operator | ||
reload | ||
rtt | ||
services | ||
snapshot | ||
tls | ||
validate | ||
version | ||
watch | ||
commands_oss.go | ||
registry.go |