open-consul/command
Paul Banks 0b9ff5c2b9
Fix KV del command validation error
This has an explcit unit test already which somehow passes at least some of the time. I suspect it passes because under some conditions the actual KV delete fails and returns non-zero as well as printing the warning which is what is being checked for in the test.

For some reason despite working for quite some time like this, I now have a branch in which this test fails consistently. It may be a timing/env issue where another process running an agent causes the delete to be successful so the command returns a 0 by chance. Either way this is clearly wrong and fixing it stops the test being flaky in my branch.
2018-06-05 13:18:16 +01:00
..
agent command/agent: don't re-parse the flags on reload 2018-05-31 16:59:51 -07:00
catalog remove golint warnings 2018-01-28 22:40:13 +04:00
event commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
exec commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
flags Pull http config flag merge into public method 2018-02-05 15:00:04 -08:00
forceleave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
info commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
join commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keygen commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keyring commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
kv Fix KV del command validation error 2018-06-05 13:18:16 +01:00
leave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
lock Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
maint commands: cleanup init 2017-10-18 02:39:10 +02:00
members commands: cleanup init 2017-10-18 02:39:10 +02:00
monitor Spelling (#3958) 2018-03-19 16:56:00 +00:00
operator Fix typo 2018-01-05 15:24:44 -05:00
reload commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
rtt remove golint warnings 2018-01-28 22:40:13 +04:00
snapshot Spelling (#3958) 2018-03-19 16:56:00 +00:00
validate Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
commands_oss.go Adds a registry mechanism for CLI commands. 2017-11-29 18:36:52 -08:00
registry.go Adds a registry mechanism for CLI commands. 2017-11-29 18:36:52 -08:00