mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
fix log warn key
This commit is contained in:
parent
d9f8eda901
commit
ec0d62e32e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type response struct {
|
|||
func respond(w io.Writer, resp response) {
|
||||
err := json.NewEncoder(w).Encode(resp)
|
||||
if err != nil {
|
||||
slog.Warn("write response", err)
|
||||
slog.Warn("write response", "err", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue