Merge pull request #1871 from johncming/hotfix/dup-close
test/with_api_v1: delete duplicate close of http body.
This commit is contained in:
commit
6749f9faa9
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue