From c71fddee2b03bbdea85c2aedbdb0cbffdf41a80a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 22 Oct 2019 00:50:50 -0700 Subject: [PATCH] go fmt --- weed/server/volume_grpc_tail.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/server/volume_grpc_tail.go b/weed/server/volume_grpc_tail.go index 1e0c91274..cb0d320ad 100644 --- a/weed/server/volume_grpc_tail.go +++ b/weed/server/volume_grpc_tail.go @@ -68,7 +68,7 @@ func sendNeedlesSince(stream volume_server_pb.VolumeServer_VolumeTailSenderServe } scanner := &VolumeFileScanner4Tailing{ - stream:stream, + stream: stream, } err = storage.ScanVolumeFileFrom(v.Version(), v.DataFile(), foundOffset.ToAcutalOffset(), scanner) @@ -97,7 +97,7 @@ func (vs *VolumeServer) VolumeTailReceiver(ctx context.Context, req *volume_serv // generate the volume idx type VolumeFileScanner4Tailing struct { - stream volume_server_pb.VolumeServer_VolumeTailSenderServer + stream volume_server_pb.VolumeServer_VolumeTailSenderServer lastProcessedTimestampNs uint64 }