diff options
| author | Jeff Carr <[email protected]> | 2024-12-02 08:45:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-02 08:45:13 -0600 |
| commit | e9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 (patch) | |
| tree | cddcfac1a101988e31bdfbe42d18102418e85792 /http.go | |
| parent | 1c8815685b1a12e6d9856ef90b6c8d7f243c0744 (diff) | |
man this doesn't work right
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) |
