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

@ -163,7 +163,7 @@ func NewFileOrEnvironmentSource(
func (src *FileOrEnvironmentSource) check(ctx context.Context) {
ctx = log.WithContext(ctx, func(c zerolog.Context) zerolog.Context {
return c.Str("config_change_id", uuid.New().String())
return c.Str("config-change-id", uuid.New().String())
})
src.mu.Lock()
cfg := src.config