From e6ade6b0428289a78d1ad1045c7d85a6404ce886 Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Fri, 1 Mar 2024 10:13:56 +0200 Subject: [PATCH] defer close skipcq --- nodes/vr_sros/vr-sros.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/vr_sros/vr-sros.go b/nodes/vr_sros/vr-sros.go index 2f1baacf1..92f4b38e2 100644 --- a/nodes/vr_sros/vr-sros.go +++ b/nodes/vr_sros/vr-sros.go @@ -129,7 +129,7 @@ func (s *vrSROS) PostDeploy(ctx context.Context, _ *nodes.PostDeployParams) erro return err } - defer r.Close() + defer r.Close() // skipcq: GO-S2307 _, err = io.Copy(b, r) if err != nil {