2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-12 23:05:28 +00:00
Blake Covarrubias 6a68bfc5e1
cli: Test API access using /status/leader in consul watch ()
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 
2021-08-09 09:00:33 -07:00

5 lines
107 B
Plaintext

```release-note:bug
cli: Fix a bug which prevented initializing a watch when using a namespaced
token.
```