Merge pull request #1871 from johncming/hotfix/dup-close

test/with_api_v1: delete duplicate close of http body.
This commit is contained in:
stuart nelson 2019-05-06 12:41:29 +02:00 committed by GitHub
commit 6749f9faa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,7 +306,6 @@ func (am *Alertmanager) Start() {
if err != nil {
am.t.Fatalf("Starting alertmanager failed: %s", err)
}
resp.Body.Close()
return
}
am.t.Fatalf("Starting alertmanager failed: timeout")