Browse Source

fix return resEachEntryFuncErr

pull/7485/head
Roman Tamarov 2 weeks ago
parent
commit
1090c1f38a
  1. 3
      weed/filer/hbase/hbase_store.go

3
weed/filer/hbase/hbase_store.go

@ -211,8 +211,7 @@ func (store *HbaseStore) ListDirectoryPrefixedEntries(ctx context.Context, dirPa
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(entry)
if resEachEntryFuncErr != nil {
err = fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr)
break
return lastFileName, fmt.Errorf("failed to process eachEntryFunc: %w", resEachEntryFuncErr)
}
if !resEachEntryFunc {

Loading…
Cancel
Save