From 6a2e9d294deef3418b0688a50a26f6f0fc268f43 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 01:39:26 -0600 Subject: [PATCH] remove http writer --- http.go | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/http.go b/http.go index 003d3b9..37127b5 100644 --- a/http.go +++ b/http.go @@ -29,6 +29,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { var route string route = cleanURL(r.URL.Path) log.HttpMode(w) + defer log.HttpMode(nil) // common http args that can be set repoName := r.URL.Query().Get("repo") diff --git a/main.go b/main.go index e332162..8e5731e 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ func main() { me.releaseReasonS = os.Getenv("GUIRELEASE_REASON") if me.releaseReasonS == "" { - log.Info("GUIRELEASE_VERSION not set") + log.Info("shell ENV GUIRELEASE_REASON not set") os.Exit(0) }