From d34bfbeb05ff4bdd1d441b3c1b1e308699382d3e Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Thu, 27 Jun 2024 12:46:42 +0100 Subject: [PATCH] lxd-agent: Standardise error field to err Signed-off-by: Thomas Parrott --- lxd-agent/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd-agent/server.go b/lxd-agent/server.go index 7d03bd82b88c..af983cbb3730 100644 --- a/lxd-agent/server.go +++ b/lxd-agent/server.go @@ -96,7 +96,7 @@ func createCmd(restAPI *mux.Router, version string, c APIEndpoint, cert *x509.Ce if err != nil { writeErr := response.InternalError(err).Render(w) if writeErr != nil { - logger.Error("Failed writing error for HTTP response", logger.Ctx{"url": uri, "error": err, "writeErr": writeErr}) + logger.Error("Failed writing error for HTTP response", logger.Ctx{"url": uri, "err": err, "writeErr": writeErr}) } } })