open-consul/command
Chris Piraino a30fac8a89 Allow services register command to register an unnamed check
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
2019-11-15 14:28:36 -06:00
..
acl docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
agent log rotation: limit count of rotated log files (#5831) 2019-07-19 15:36:34 -06:00
catalog
config Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
connect xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
debug fix: incorrect struct tag and WaitGroup usage (#6649) 2019-10-18 13:59:29 -04:00
event
exec Flaky test overhaul (#6100) 2019-07-12 09:52:26 -06:00
flags
forceleave Prune Unhealthy Agents (#6571) 2019-10-04 16:10:02 -05:00
helpers
info
intention
join
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring add flag to allow /operator/keyring requests to only hit local servers (#6279) 2019-08-12 11:11:11 -07:00
kv Avoid unnecessary conversions (#6178) 2019-07-19 09:13:18 -04:00
leave
lock
login docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
logout docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
maint
members
monitor test: ensure all TestAgent constructions use a constructor (#6443) 2019-09-05 10:24:36 -07:00
operator Set MinQuorum variable in Autopilot (#6654) 2019-10-29 09:04:41 -05:00
reload
rtt
services Allow services register command to register an unnamed check 2019-11-15 14:28:36 -06:00
snapshot
tls tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
validate
version
watch
commands_oss.go Fix envoy 1.10 exec (#5964) 2019-06-21 16:06:25 +01:00
registry.go