pingcap / pingcap/tidb

Wrong function comment for `UpdateGlobal`

Open
#61,311 4 comments 0 reactions 1 assignee Claimed by @unlucky View on GitHub
good first issue severity/minor sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

https://github.com/pingcap/tidb/blob/1c6c5ad2acd6d5d2d4eee9b80032181a8f936a65/pkg/config/config.go#L1396-L1402

There's no "restore function" returned by `UpdateGlobal`. The comment should be updated, or code should be aligned with comment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.