aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/server.go
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2024-09-16 16:50:26 +0300
committerGitHub <[email protected]>2024-09-16 07:50:26 -0600
commit6ab9fb6f7424026ed67ceb112d99a4c483ef468b (patch)
tree1f1929d2653f90c9d00fa8120d6b7efd315e31d2 /modules/caddyhttp/server.go
parentf4bf4e0097853438eb69c573bbaa0581e9b9c02d (diff)
downloadcaddy-6ab9fb6f7424026ed67ceb112d99a4c483ef468b.tar.gz
caddy-6ab9fb6f7424026ed67ceb112d99a4c483ef468b.zip
ci: update the linter action version (#6575)
* ci: update the linter action version Signed-off-by: Mohammed Al Sahaf <[email protected]> * exclude rule `G115`; disable deprecated linter Signed-off-by: Mohammed Al Sahaf <[email protected]> --------- Signed-off-by: Mohammed Al Sahaf <[email protected]>
Diffstat (limited to 'modules/caddyhttp/server.go')
-rw-r--r--modules/caddyhttp/server.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go
index 9dfa1bb6d..e301bdc68 100644
--- a/modules/caddyhttp/server.go
+++ b/modules/caddyhttp/server.go
@@ -817,7 +817,6 @@ func (s *Server) logRequest(
}
if fields == nil {
-
userID, _ := repl.GetString("http.auth.user.id")
reqBodyLength := 0