fix(database/influxdb): typo log messages (#234)
This commit is contained in:
parent
c19c1aed1b
commit
9e13f41143
|
@ -103,13 +103,13 @@ func (conn *Connection) addPoint(name string, tags models.Tags, fields models.Fi
|
||||||
log.WithFields(map[string]interface{}{
|
log.WithFields(map[string]interface{}{
|
||||||
"name": name,
|
"name": name,
|
||||||
"tag": tag,
|
"tag": tag,
|
||||||
}).Warnf("count not save tag configuration on point")
|
}).Warnf("could not save tag configuration on point")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
point, err := client.NewPoint(name, tags.Map(), fields, t...)
|
point, err := client.NewPoint(name, tags.Map(), fields, t...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panicf("count not save points: %s", err)
|
log.Panicf("could not save points: %s", err)
|
||||||
}
|
}
|
||||||
conn.points <- point
|
conn.points <- point
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue