Lars Lehtonen
18 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
weed/filer/redis/universal_redis_store.go
|
|
|
@ -173,14 +173,16 @@ func (store *UniversalRedisStore) ListDirectoryEntries(ctx context.Context, dirP |
|
|
|
members = members[:limit] |
|
|
|
} |
|
|
|
|
|
|
|
var entry *filer.Entry |
|
|
|
// fetch entry meta
|
|
|
|
for _, fileName := range members { |
|
|
|
path := util.NewFullPath(string(dirPath), fileName) |
|
|
|
entry, err := store.FindEntry(ctx, path) |
|
|
|
entry, err = store.FindEntry(ctx, path) |
|
|
|
lastFileName = fileName |
|
|
|
if err != nil { |
|
|
|
glog.V(0).InfofCtx(ctx, "list %s : %v", path, err) |
|
|
|
if err == filer_pb.ErrNotFound { |
|
|
|
err = nil |
|
|
|
continue |
|
|
|
} |
|
|
|
} else { |
|
|
|
|