mirror of
https://github.com/macports/mpbot-github.git
synced 2026-07-13 03:18:39 -07:00
Close unread resp.Body
This commit is contained in:
@@ -70,6 +70,7 @@ func (r *remoteLogger) run() {
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
resp.Body.Close()
|
||||
loc := resp.Header.Get("Location")
|
||||
if loc == "" {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user