Skip to content

Commit

Permalink
chore: make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Sep 26, 2024
1 parent dc03e7a commit dfb440e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkg/statistics/handle/autoanalyze/priorityqueue/queue2.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,11 @@ func (pq *AnalysisPriorityQueueV2) tryUpdateJob(
stats,
partitionStats,
)
} else {
indicators.ChangePercentage = jobFactory.CalculateChangePercentage(stats)
indicators.TableSize = jobFactory.CalculateTableSize(stats)
oldJob.SetIndicators(indicators)
return oldJob
}
indicators.ChangePercentage = jobFactory.CalculateChangePercentage(stats)
indicators.TableSize = jobFactory.CalculateTableSize(stats)
oldJob.SetIndicators(indicators)
return oldJob
}

func (pq *AnalysisPriorityQueueV2) refreshTime() {
Expand Down

0 comments on commit dfb440e

Please sign in to comment.