Skip to content

Commit

Permalink
defer close skipcq
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Mar 1, 2024
1 parent cab95b9 commit e6ade6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/vr_sros/vr-sros.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e6ade6b

Please sign in to comment.