logging: standardize on hyphens in attribute names (#5577)

This commit is contained in:
Kenneth Jenkins 2025-04-22 10:57:19 -07:00 committed by GitHub
parent e71fca76f2
commit e1d84a1dde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 99 additions and 99 deletions

View file

@ -222,9 +222,9 @@ func (backend *Backend) Put(ctx context.Context, records []*databroker.Record) (
}
ctx = log.WithContext(ctx, func(c zerolog.Context) zerolog.Context {
return c.Str("db_op", "put").
Str("db_id", record.Id).
Str("db_type", record.Type)
return c.Str("db-op", "put").
Str("db-id", record.Id).
Str("db-type", record.Type)
})
backend.update(record)