Skip to content

Agent Mesh

Fix linter

Antonio Ojea9d30770beae7
diff --git a/cmd/sam-node/middleware_test.go b/cmd/sam-node/middleware_test.go
index e811e385..99da71a8 100644
--- a/cmd/sam-node/middleware_test.go
+++ b/cmd/sam-node/middleware_test.go
@@ -565,7 +565,7 @@ func TestAuthorizationCacheBypass(t *testing.T) {
authFrame := &api.AuthFrame{Biscuit: tokenBytes, TargetService: target}
data, _ := proto.Marshal(authFrame)
_ = writer.WriteMsg(data)
- pw1.Close()
+ pw1.Close() //nolint:errcheck
reader := msgio.NewVarintReaderSize(pr2, 1024*64)
msg, err := reader.ReadMsg()