Skip to content

Commit

Permalink
config: fix trace-region-flow displayed incorrectly (#7993)
Browse files Browse the repository at this point in the history
close #7917

Signed-off-by: Ryan Leung <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
rleungx and ti-chi-bot[bot] authored Mar 29, 2024
1 parent 2c20897 commit 87db551
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,6 @@ func (c *PDServerConfig) adjust(meta *configutil.ConfigMetaData) error {
if !meta.IsDefined("dashboard-address") {
c.DashboardAddress = defaultDashboardAddress
}
if !meta.IsDefined("trace-region-flow") {
c.TraceRegionFlow = defaultTraceRegionFlow
}
if !meta.IsDefined("flow-round-by-digit") {
configutil.AdjustInt(&c.FlowRoundByDigit, defaultFlowRoundByDigit)
}
Expand Down

0 comments on commit 87db551

Please sign in to comment.