Skip to content

Commit

Permalink
Close response
Browse files Browse the repository at this point in the history
Co-authored-by: Joakim Bygdell <[email protected]>
  • Loading branch information
jonandernovella and jbygdell authored Nov 25, 2020
1 parent 85420b0 commit 88e96af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elastic.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func getDocuments(sb s3Backend, es elastic.Client, keyPath, indexGlob string, ba
}

json := readResponse(res.Body)
res.Body.Close()

log.Info(json)

Expand Down

0 comments on commit 88e96af

Please sign in to comment.