fix: batch point sending problem
This commit is contained in:
parent
1837a0b632
commit
b573b22457
@ -84,11 +84,12 @@ func SendDataToInflux(c *config.Config, d Data) error {
|
||||
}
|
||||
|
||||
bp.AddPoint(point)
|
||||
}
|
||||
|
||||
err = httpClient.Write(bp)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user