Skip to content

Commit

Permalink
make gosec happy
Browse files Browse the repository at this point in the history
  • Loading branch information
blockpane committed Feb 6, 2023
1 parent d75640a commit e7a8238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td2/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func notifySlack(msg *alertMsg) (err error) {
if err != nil {
return
}
defer resp.Body.Close()
_ = resp.Body.Close()

if resp.StatusCode != 200 {
return fmt.Errorf("could not notify slack for %s got %d response", msg.chain, resp.StatusCode)
Expand Down

0 comments on commit e7a8238

Please sign in to comment.