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,11 +84,12 @@ func SendDataToInflux(c *config.Config, d Data) error {
} }
bp.AddPoint(point) bp.AddPoint(point)
}
err = httpClient.Write(bp) err = httpClient.Write(bp)
if err != nil { if err != nil {
return err return err
} }
}
return nil return nil
} }