Skip to content

Commit

Permalink
client: fix comment typo (tikv#3638)
Browse files Browse the repository at this point in the history
Signed-off-by: HunDunDM <hundundm@gmail.com>
  • Loading branch information
HunDunDM authored Apr 25, 2021
1 parent aa882c5 commit 420f245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/base_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (c *baseClient) updateMember() error {
if members.GetLeader() == nil || len(members.GetLeader().GetClientUrls()) == 0 {
err = errs.ErrClientGetLeader.FastGenByArgs("leader address don't exist")
}
// Still need to update TsoAllocatorLeadersEven, even if there is no PD leader
// Still need to update TsoAllocatorLeaders, even if there is no PD leader
errTSO = c.switchTSOAllocatorLeader(members.GetTsoAllocatorLeaders())
}

Expand Down

0 comments on commit 420f245

Please sign in to comment.