Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
countvonzero committed Aug 4, 2023
1 parent a845b11 commit 1c90ddd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/grpcserver/mesh_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,8 @@ func (s MeshService) EpochStream(req *pb.EpochStreamRequest, stream pb.MeshServi
}
var res pb.EpochStreamResponse
res.Id = &pb.ActivationId{Id: header.ID.Bytes()}
if err := stream.Send(&res); err != nil {
return status.Error(codes.Internal, err.Error())
}
return stream.Send(&res)
}
return nil
}); err != nil {
return status.Error(codes.Internal, err.Error())

Check warning on line 601 in api/grpcserver/mesh_service.go

View check run for this annotation

Codecov / codecov/patch

api/grpcserver/mesh_service.go#L600-L601

Added lines #L600 - L601 were not covered by tests
}
Expand Down

0 comments on commit 1c90ddd

Please sign in to comment.