hashicorp / hashicorp/consul

Peering: improved error message of peering list

Open
#14,896 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.