Fix lint warning
This commit is contained in:
parent
87a2f0e0df
commit
5feb009b74
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ func (c *Controller) GetFilesEmbedding(ctx *gin.Context, req ente.GetFilesEmbedd
|
|||
noEmbeddingFileIds := make([]int64, 0)
|
||||
dbFileIds := make([]int64, 0)
|
||||
// fileIDs that were indexed but they don't contain any embedding information
|
||||
for i, _ := range userFileEmbeddings {
|
||||
for i := range userFileEmbeddings {
|
||||
dbFileIds = append(dbFileIds, userFileEmbeddings[i].FileID)
|
||||
if userFileEmbeddings[i].Size != nil && *userFileEmbeddings[i].Size < minEmbeddingDataSize {
|
||||
noEmbeddingFileIds = append(noEmbeddingFileIds, userFileEmbeddings[i].FileID)
|
||||
|
|
Loading…
Reference in a new issue