diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 07:03:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 07:03:17 -0600 |
| commit | 3d22172fa9b58a03bb59aba0b9c730d31ec2ff3f (patch) | |
| tree | 811a3eaa998e4a9c38fa3d517240bb409b386685 /http.go | |
| parent | 8dd47d59e3e37b91111154c2b25d018437c3cab9 (diff) | |
fixes for new gitpb
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -161,9 +161,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) { testNext() return case "/fixNext": - check := me.forge.Repos.FindByGoPath(me.current.GoPath()) + check := me.forge.FindByGoPath(me.current.GetGoPath()) if check == nil { - log.Info("boo, you didn't git clone", me.current.GoPath()) + log.Info("boo, you didn't git clone", me.current.GetGoPath()) return } // destroy and recreate the go.sum @@ -229,9 +229,9 @@ func startHTTP() { func testNext() { // re-scans the go.sum file. DOES NOT MODIFY ANYTHING - check := me.forge.Repos.FindByGoPath(me.current.GoPath()) + check := me.forge.FindByGoPath(me.current.GetGoPath()) if check == nil { - log.Info("boo, you didn't git clone", me.current.GoPath()) + log.Info("boo, you didn't git clone", me.current.GetGoPath()) return } @@ -257,9 +257,9 @@ func showNext() { return } - check := me.forge.Repos.FindByGoPath(me.current.GoPath()) + check := me.forge.FindByGoPath(me.current.GetGoPath()) if check == nil { - log.Info("forge: how was this not found?", me.current.GoPath()) + log.Info("forge: how was this not found?", me.current.GetGoPath()) return } @@ -278,7 +278,7 @@ func showNext() { } else { log.Info("IsPrimitive() == false") } - if me.forge.Config.IsPrivate(check.GoPath) { + if me.forge.Config.IsPrivate(check.GetGoPath()) { log.Info("IsPrivate() == true") } else { log.Info("IsPrivate() == false") |
