Skip to content

Commit

Permalink
try fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Sep 10, 2024
1 parent 4d7a4ab commit 56f07d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ func doReorgWorkForCreateIndex(w *worker, d *ddlCtx, t *meta.Meta, job *model.Jo
job.RowCount = 0
return false, ver, nil
}
pdLeaderAddr := config.GetGlobalConfig().Path
var pdLeaderAddr string
if d != nil {
//nolint:forcetypeassert
pdLeaderAddr = d.store.(tikv.Storage).GetRegionCache().PDClient().GetLeaderAddr()
Expand Down

0 comments on commit 56f07d6

Please sign in to comment.