From 6615f159bad5b522b7322408fcf5ae8bb58b0843 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Fri, 2 Feb 2024 12:14:32 -0800 Subject: [PATCH] Fix linter Signed-off-by: Maksym Pavlenko --- integration/streaming_test.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/integration/streaming_test.go b/integration/streaming_test.go index d37c1b1..ac06258 100644 --- a/integration/streaming_test.go +++ b/integration/streaming_test.go @@ -196,11 +196,7 @@ func (tss *testStreamingService) EmptyPayloadStream(_ context.Context, _ *emptyp return err } - if err := streamer.Send(&streaming.EchoPayload{Seq: 2}); err != nil { - return err - } - - return nil + return streamer.Send(&streaming.EchoPayload{Seq: 2}) } func TestStreamingService(t *testing.T) {