From ccf40e58d2cde227580923150641109192671ee0 Mon Sep 17 00:00:00 2001 From: Kegan Dougal <7190048+kegsay@users.noreply.github.com> Date: Fri, 10 May 2024 09:06:59 +0100 Subject: [PATCH] gocyclo --- submit.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/submit.go b/submit.go index 1980028..78a3335 100644 --- a/submit.go +++ b/submit.go @@ -183,7 +183,10 @@ func (s *submitServer) ServeHTTP(w http.ResponseWriter, req *http.Request) { respond(200, w) return } + s.handleSubmission(w, req) +} +func (s *submitServer) handleSubmission(w http.ResponseWriter, req *http.Request) { // create the report dir before parsing the request, so that we can dump // files straight in t := time.Now().UTC()