Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 unauthenticated API client. Fixes #9353
- Loading branch information