chore(go.mod): update cdr.dev/slog (#7994)

* chore(mod): update cdr.dev/slog

* fix: change uses of []slog.Field to []any to match new API
This commit is contained in:
Mathias Fredriksson
2023-06-13 18:17:04 +00:00
committed by GitHub
parent 74fdcb1ace
commit c12c9f1f4e
6 changed files with 12 additions and 121 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (api *API) logReportCSPViolations(rw http.ResponseWriter, r *http.Request)
return
}
fields := make([]slog.Field, 0, len(v.Report))
fields := make([]any, 0, len(v.Report))
for k, v := range v.Report {
fields = append(fields, slog.F(k, v))
}