Fix typos

This commit is contained in:
Gregor Pogacnik
2022-01-20 13:25:30 +01:00
parent 70077ea5d2
commit cfba3fa890
2 changed files with 12 additions and 3 deletions

2
db.go
View File

@@ -130,7 +130,7 @@ func tryMigrate(old, new string) {
defer iter.Close()
for iter.First(); iter.Valid(); iter.Next() {
log.Debug().Str("db", string(iter.Key())).Msg("Migrating key")
log.Debug().Str("key", string(iter.Key())).Msg("Migrating key")
var params Params
if err := json.Unmarshal(iter.Value(), &params); err != nil {
log.Debug().Err(err).Msg("Unmarshal error")