From aa64f2ac4cc0008b7670bd7c253d17185fd108b5 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 27 Sep 2021 01:53:41 -0700 Subject: [PATCH] send needle data instead of raw needle body --- weed/server/volume_grpc_read_all.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/volume_grpc_read_all.go b/weed/server/volume_grpc_read_all.go index f1f79a2e3..6e7b30dbd 100644 --- a/weed/server/volume_grpc_read_all.go +++ b/weed/server/volume_grpc_read_all.go @@ -41,7 +41,7 @@ func (scanner *VolumeFileScanner4ReadAll) VisitNeedle(n *needle.Needle, offset i sendErr := scanner.stream.Send(&volume_server_pb.ReadAllNeedlesResponse{ NeedleId: uint64(n.Id), - NeedleBlob: needleBody, + NeedleBlob: n.Data, }) if sendErr != nil { return sendErr