-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to handle error returned by ReadCloser.Close in 'defer' sta…
…tements in 'helper_http.go' This is considered unsafe by gosec otherwise. See [1]. This also makes sure to fix the warning with calling defer in a loop. [1] securego/gosec#512
- Loading branch information
Showing
1 changed file
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters