aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/read_remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/read_remote.go')
-rw-r--r--weed/filer/read_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/read_remote.go b/weed/filer/read_remote.go
index a3fb48ae0..6372dac72 100644
--- a/weed/filer/read_remote.go
+++ b/weed/filer/read_remote.go
@@ -26,7 +26,7 @@ func MapRemoteStorageLocationPathToFullPath(localMountedDir util.FullPath, remot
}
func CacheRemoteObjectToLocalCluster(filerClient filer_pb.FilerClient, remoteConf *remote_pb.RemoteConf, remoteLocation *remote_pb.RemoteStorageLocation, parent util.FullPath, entry *filer_pb.Entry) error {
- return filerClient.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {
+ return filerClient.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error {
_, err := client.CacheRemoteObjectToLocalCluster(context.Background(), &filer_pb.CacheRemoteObjectToLocalClusterRequest{
Directory: string(parent),
Name: entry.Name,