We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f798c0 commit 0442c55Copy full SHA for 0442c55
internal/pkg/handler/upgrade.go
@@ -133,6 +133,7 @@ func sendWebhook(url string) (string, []error) {
133
// the reloader seems to retry automatically so no retry logic added
134
return "", err
135
}
136
+ defer resp.Body.Close()
137
var buffer bytes.Buffer
138
_, bufferErr := io.Copy(&buffer, resp.Body)
139
if bufferErr != nil {
0 commit comments