Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: yisaer <[email protected]>
  • Loading branch information
Yisaer committed Dec 21, 2021
1 parent 0643dd8 commit e01b153
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions planner/core/rule_partition_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1580,12 +1580,7 @@ func appendMakeUnionAllChildrenTranceStep(ds *DataSource, usedMap map[int64]mode
appendNoPartitionChildTraceStep(ds, plan, opt)
return
}
action := func() string {
return ""
}
reason := func() string {
return ""
}
var action, reason func() string
var used []model.PartitionDefinition
for _, def := range usedMap {
used = append(used, def)
Expand Down

0 comments on commit e01b153

Please sign in to comment.