fmt migration file
Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
This commit is contained in:
parent
c1da9ae887
commit
e326026c8c
|
|
@ -68,7 +68,7 @@ func reformatAndRemoveIncorrectTopics(x *xorm.Engine) (err error) {
|
|||
}
|
||||
|
||||
log.Info("Deleting incorrect topics...")
|
||||
for start := 0; ; start+=batchSize {
|
||||
for start := 0; ; start += batchSize {
|
||||
if (start + batchSize) < len(delTopicIDs) {
|
||||
ids = delTopicIDs[start:(start + batchSize)]
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user