From e9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 2 Dec 2024 08:45:13 -0600 Subject: man this doesn't work right --- http.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'http.go') diff --git a/http.go b/http.go index d43efac..9a8cda7 100644 --- a/http.go +++ b/http.go @@ -162,7 +162,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { log.Info("boo, you didn't git clone", me.current.GoPath()) return } - if me.forge.FinalGoDepsCheck(check) { + if me.forge.FinalGoDepsCheckOk(check) { log.Info("finalGoDepsCheck(check) worked!") } else { log.Info("finalGoDepsCheck(check) failed. boo.") @@ -220,7 +220,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) { log.Info("Whitelist == false") } log.Info("") - fixGodeps(me.current) log.Info(repolist.ReportHeader()) log.Info(me.current.StandardHeader()) @@ -272,7 +271,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { func startHTTP() { http.HandleFunc("/", okHandler) - p := fmt.Sprintf(":%d", myargs.Port) + p := fmt.Sprintf(":%d", argv.Port) log.Println("Running on port", p) err := http.ListenAndServe(p, nil) -- cgit v1.2.3