From fa088e1fa81ed0fe612895559f96b37b2a96e233 Mon Sep 17 00:00:00 2001 From: tam-i13 <46927823+tam-i13@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:57:05 +0300 Subject: [PATCH] Update weed/filer/foundationdb/foundationdb_store.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- weed/filer/foundationdb/foundationdb_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/foundationdb/foundationdb_store.go b/weed/filer/foundationdb/foundationdb_store.go index 3e18e5b23..dea725464 100644 --- a/weed/filer/foundationdb/foundationdb_store.go +++ b/weed/filer/foundationdb/foundationdb_store.go @@ -477,7 +477,7 @@ func (store *FoundationDBStore) ListDirectoryPrefixedEntries(ctx context.Context resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(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 { break