mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-25 20:49:30 +02:00
logging: standardize on hyphens in attribute names (#5577)
This commit is contained in:
parent
e71fca76f2
commit
e1d84a1dde
17 changed files with 99 additions and 99 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue