Browse Source

fix log

pull/7485/head
Roman Tamarov 2 weeks ago
parent
commit
5895aa3d16
  1. 2
      weed/filer/elastic/v7/elastic_store.go

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

@ -261,7 +261,7 @@ func (store *ElasticStore) listDirectoryEntries(
resEachEntryFunc, resEachEntryFuncErr := eachEntryFunc(esEntry.Entry)
if resEachEntryFuncErr != nil {
glog.V(0).InfofCtx(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)
}

Loading…
Cancel
Save