pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
417 stars 310 forks source link

cluster: fix tidb-dashboard listen_host #2304

Closed nexustar closed 11 months ago

nexustar commented 11 months ago

What problem does this PR solve?

What is changed and how it works?

Check List

Tests

Code changes

Side effects

Related changes

Release notes:

NONE
codecov-commenter commented 11 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2eaf957) 55.39% compared to head (b5e90b7) 55.51%.

:exclamation: Current head b5e90b7 differs from pull request most recent head 466b1a1. Consider uploading reports for the commit 466b1a1 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2304 +/- ## ========================================== + Coverage 55.39% 55.51% +0.12% ========================================== Files 325 325 Lines 34705 34706 +1 ========================================== + Hits 19222 19265 +43 + Misses 13184 13140 -44 - Partials 2299 2301 +2 ``` | [Flag](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [cluster](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `44.85% <0.00%> (+0.16%)` | :arrow_up: | | [dm](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `25.48% <0.00%> (+<0.01%)` | :arrow_up: | | [playground](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `15.27% <0.00%> (-0.01%)` | :arrow_down: | | [tiup](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `15.56% <0.00%> (-<0.01%)` | :arrow_down: | | [unittest](https://app.codecov.io/gh/pingcap/tiup/pull/2304/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `22.33% <0.00%> (-<0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/pingcap/tiup/pull/2304?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [pkg/cluster/template/scripts/dashboard.go](https://app.codecov.io/gh/pingcap/tiup/pull/2304?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvdGVtcGxhdGUvc2NyaXB0cy9kYXNoYm9hcmQuZ28=) | `0.00% <ø> (ø)` | | | [pkg/cluster/spec/dashboard.go](https://app.codecov.io/gh/pingcap/tiup/pull/2304?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy9kYXNoYm9hcmQuZ28=) | `8.73% <0.00%> (-0.07%)` | :arrow_down: | ... and [9 files with indirect coverage changes](https://app.codecov.io/gh/pingcap/tiup/pull/2304/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kaaaaaaang commented 11 months ago

/lgtm

ti-chi-bot[bot] commented 11 months ago

[LGTM Timeline notifier]

Timeline:

kaaaaaaang commented 11 months ago

/approve

ti-chi-bot[bot] commented 11 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaaaaaaang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/tiup/blob/master/OWNERS)~~ [kaaaaaaang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment