Peering: improved error message of peering list
Open
help-wanted
theme/cluster-peering
theme/operator-usability
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
#### Feature Description
When a cluster is configured with "peering.enabled=false" and user runs "consul peering list", the return error message is `Error listing peerings`.
A more helpful message could be: `Error listing peerings: peering is disabled`.
Contributor guide
Research direction
Start by running `consul peering list` with `peering.enabled=false` and trace the CLI entry point that produces `Error listing peerings`. Done means the command reports `Error listing peerings: peering is disabled` instead.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100