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 Implement data filtering of some endpoints (#5579) 2019-04-16 12:00:15 -04:00
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 Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
exec Flaky test overhaul (#6100) 2019-07-12 09:52:26 -06:00
flags acl: adding support for kubernetes auth provider login (#5600) 2019-04-26 14:49:25 -05:00
forceleave Prune Unhealthy Agents (#6571) 2019-10-04 16:10:02 -05:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
intention Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
join Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
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 Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
lock Merge pull request #5376 from hashicorp/fix-tests 2019-04-04 17:09:32 -04:00
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 Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
members Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
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 Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
rtt Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
services Allow services register command to register an unnamed check 2019-11-15 14:28:36 -06:00
snapshot Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
tls tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
validate Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch cli: actually allow the 'connect envoy' and 'watch' subcommands to work with -token-file (#5733) 2019-04-30 09:59:00 -05:00
commands_oss.go Fix envoy 1.10 exec (#5964) 2019-06-21 16:06:25 +01:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00