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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/filer/elastic/v7/elastic_store.go
|
|
@ -262,7 +262,7 @@ func (store *ElasticStore) listDirectoryEntries( |
|
|
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(esEntry.Entry) |
|
|
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(esEntry.Entry) |
|
|
if resEachEntryFuncErr != nil { |
|
|
if resEachEntryFuncErr != nil { |
|
|
glog.ErrorfCtx(ctx, "failed to process eachEntryFunc for entry %q: %v", fileName, resEachEntryFuncErr) |
|
|
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 { |
|
|
if !resEachEntryFunc { |
|
|
|