summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-02 08:45:13 -0600
committerJeff Carr <[email protected]>2024-12-02 08:45:13 -0600
commite9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 (patch)
treecddcfac1a101988e31bdfbe42d18102418e85792 /http.go
parent1c8815685b1a12e6d9856ef90b6c8d7f243c0744 (diff)
man this doesn't work right
Diffstat (limited to 'http.go')
-rw-r--r--http.go5
1 files changed, 2 insertions, 3 deletions
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)