diff options
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) |
