app/vmagent/remotewrite: remove superflouos code after 1b7dc1e5a5

This commit is contained in:
Aliaksandr Valialkin 2021-03-26 13:59:46 +02:00
parent 8fc8ef1aba
commit c54cb3e63c

View file

@ -265,7 +265,6 @@ again:
// drop block on 400 status code,
// not expected that remote server will be able to handle it on retry
// should fix https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1149
_, _ = ioutil.ReadAll(resp.Body)
_ = resp.Body.Close()
c.packetsDropped.Inc()
return true