summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 01:39:26 -0600
committerJeff Carr <[email protected]>2024-11-07 01:39:26 -0600
commit6a2e9d294deef3418b0688a50a26f6f0fc268f43 (patch)
tree0f706a937f7b2e9e6a0e71fb37520a3daed92262
parent3c1b67066399d984d5d24ada85af94ad3169b184 (diff)
remove http writerv0.22.5
-rw-r--r--http.go1
-rw-r--r--main.go2
2 files changed, 2 insertions, 1 deletions
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)
}