pingcap / pingcap/tiup

the master's tiup-cluster display sees two Dashboard url

Open
#2,482 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/question
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

General Question

Before asking a question, make sure you have:

Here we see that the master's tiup-cluster display sees two Dashboard url(s). It feels a little weird in here.

./bin/tiup-cluster display tidb-xx
Cluster type:       tidb
Cluster name:       tidb-xx
Cluster version: v7.1.5
Deploy user:        tidb
SSH type:           builtin
Dashboard URL: http://172.16.xxx.xx:2399/dashboard
Dashboard URLs: http://172.16.xxx.xx:2399/dashboard

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing ./bin/tiup-cluster display tidb-xx and trace the code that formats the Dashboard URL fields. Check how the display output is assembled and identify why both labels appear; done means the command reports the dashboard URL once with consistent output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
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.