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

@ -46,9 +46,9 @@ func (api *API) DownloadClusterResourceBundle(
defer resp.Body.Close()
log.Ctx(ctx).Trace().
Str("url_path", req.Request.URL.Path).
Interface("request_headers", req.Header).
Interface("response_headers", resp.Header).
Str("url-path", req.Request.URL.Path).
Interface("request-headers", req.Header).
Interface("response-headers", resp.Header).
Str("status", resp.Status).
Msg("bundle download request")
@ -105,9 +105,9 @@ func (api *API) HeadClusterResourceBundle(
defer resp.Body.Close()
log.Ctx(ctx).Trace().
Str("url_path", req.Request.URL.Path).
Interface("request_headers", req.Header).
Interface("response_headers", resp.Header).
Str("url-path", req.Request.URL.Path).
Interface("request-headers", req.Header).
Interface("response-headers", resp.Header).
Str("status", resp.Status).
Msg("bundle metadata request")