aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/meta_cache
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-14 22:18:38 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-14 22:18:38 -0800
commit9a50dbcda08fd49ada647dccb9b755793f3207a5 (patch)
tree0de194a9d012e04f2791d59ba3f0552fd40d278c /weed/filesys/meta_cache
parente1c7bc66f9a2f613df5eef55d6143f9b2a551cf3 (diff)
downloadseaweedfs-9a50dbcda08fd49ada647dccb9b755793f3207a5.tar.xz
seaweedfs-9a50dbcda08fd49ada647dccb9b755793f3207a5.zip
chagned api
Diffstat (limited to 'weed/filesys/meta_cache')
-rw-r--r--weed/filesys/meta_cache/meta_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/meta_cache/meta_cache.go b/weed/filesys/meta_cache/meta_cache.go
index 4b282253d..4cb3a4930 100644
--- a/weed/filesys/meta_cache/meta_cache.go
+++ b/weed/filesys/meta_cache/meta_cache.go
@@ -125,7 +125,7 @@ func (mc *MetaCache) ListDirectoryEntries(ctx context.Context, dirPath util.Full
return nil, fmt.Errorf("unsynchronized dir: %v", dirPath)
}
- entries, err := mc.localStore.ListDirectoryEntries(ctx, dirPath, startFileName, includeStartFile, limit)
+ entries, _, err := mc.localStore.ListDirectoryEntries(ctx, dirPath, startFileName, includeStartFile, limit)
if err != nil {
return nil, err
}