fix(database/influxdb): typo log messages (#234)

This commit is contained in:
Grische 2024-06-11 15:43:55 +02:00 committed by GitHub
parent c19c1aed1b
commit 9e13f41143
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }