mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Enable deprecation error for v1.17.0 (#18341)
Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
@ -110,7 +110,7 @@ func InitIssueIndexer(syncReindex bool) {
|
||||
return
|
||||
}
|
||||
|
||||
iData := make([]*IndexerData, 0, setting.Indexer.IssueQueueBatchNumber)
|
||||
iData := make([]*IndexerData, 0, len(data))
|
||||
for _, datum := range data {
|
||||
indexerData, ok := datum.(*IndexerData)
|
||||
if !ok {
|
||||
|
Reference in New Issue
Block a user