From 2627d6b87241c609d4f8ac891e6e882d003e6789 Mon Sep 17 00:00:00 2001 From: Guillaume Pagnoux Date: Mon, 18 Dec 2023 17:18:34 +0000 Subject: [PATCH] fix linter Signed-off-by: Guillaume Pagnoux --- pkg/network/tracer/testutil/grpc/server_builder.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/network/tracer/testutil/grpc/server_builder.go b/pkg/network/tracer/testutil/grpc/server_builder.go index a24d6c3d6fd11..142596a104358 100644 --- a/pkg/network/tracer/testutil/grpc/server_builder.go +++ b/pkg/network/tracer/testutil/grpc/server_builder.go @@ -21,10 +21,9 @@ import ( // Returns the command executed and a callback to start sending requests. func NewGRPCTLSServer(t *testing.T) (*exec.Cmd, context.CancelFunc) { serverBin := buildGRPCServerBin(t) - serverCmd := fmt.Sprintf("%s", serverBin) cancelCtx, cancel := context.WithCancel(context.Background()) - c, _, err := nettestutil.StartCommandCtx(cancelCtx, serverCmd) + c, _, err := nettestutil.StartCommandCtx(cancelCtx, serverBin) require.NoError(t, err) return c, cancel