fix: batch point sending problem
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2024-03-31 23:51:17 +02:00
parent 1837a0b632
commit b573b22457

View File

@ -84,10 +84,11 @@ func SendDataToInflux(c *config.Config, d Data) error {
}
bp.AddPoint(point)
err = httpClient.Write(bp)
if err != nil {
return err
}
}
err = httpClient.Write(bp)
if err != nil {
return err
}
return nil