Blake Covarrubias 6a68bfc5e1
cli: Test API access using /status/leader in consul watch (#10795)
Replace call to /agent/self with /status/leader to verify agent
reachability before initializing a watch. This endpoint is not guarded
by ACLs, and as such can be queried by any API client regardless of
their permissions.

Fixes #9353
2021-08-09 09:00:33 -07:00
..
2021-07-30 13:58:35 -04:00
2021-07-13 12:31:49 -04:00
2019-04-30 16:27:16 -07:00
2020-12-07 13:42:55 -05:00
2020-12-07 13:42:55 -05:00
2020-12-07 13:42:55 -05:00
2021-07-30 12:58:46 -04:00
2020-12-07 13:42:55 -05:00
2021-03-22 10:16:41 +01:00