Browse Source

Update weed/filer/elastic/v7/elastic_store.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/7485/head
tam-i13 2 weeks ago
committed by GitHub
parent
commit
f4ee5cbbf5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/filer/elastic/v7/elastic_store.go

2
weed/filer/elastic/v7/elastic_store.go

@ -262,7 +262,7 @@ func (store *ElasticStore) listDirectoryEntries(
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(esEntry.Entry)
if resEachEntryFuncErr != nil {
glog.ErrorfCtx(ctx, "failed to process eachEntryFunc for entry %q: %v", fileName, resEachEntryFuncErr)
return lastFileName, fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr)
return lastFileName, fmt.Errorf("failed to process eachEntryFunc for entry %q: %w", fileName, resEachEntryFuncErr)
}
if !resEachEntryFunc {

Loading…
Cancel
Save