aboutsummaryrefslogtreecommitdiff
path: root/influxd_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'influxd_client.go')
-rw-r--r--influxd_client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/influxd_client.go b/influxd_client.go
index 639167e..e096624 100644
--- a/influxd_client.go
+++ b/influxd_client.go
@@ -86,7 +86,7 @@ func (cl *InfluxdClient) initConn() {
// Forwards implement the Forwarder interface. It will write all logs to
// Influxd.
-func (cl *InfluxdClient) Forwards(halogs []*Halog) {
+func (cl *InfluxdClient) Forwards(halogs []*HttpLog) {
var (
logp = `Forwards`
@@ -141,9 +141,9 @@ func (cl *InfluxdClient) Forwards(halogs []*Halog) {
fmt.Printf(`%s: response: %d %s\n`, logp, httpRes.StatusCode, rspBody)
}
-func (cl *InfluxdClient) write(halogs []*Halog) (err error) {
+func (cl *InfluxdClient) write(halogs []*HttpLog) (err error) {
var (
- l *Halog
+ l *HttpLog
k string
v string
)