summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 213bdc7..d43e230 100644
--- a/main.go
+++ b/main.go
@@ -82,7 +82,7 @@ func findPwdRepo() *gitpb.Repo {
gopath := strings.TrimPrefix(pwd, forge.GetGoSrc())
gopath = strings.Trim(gopath, "/")
log.Info("findRepo() trying gopath", gopath)
- check = forge.Repos.FindByFullPath(pwd)
+ check = forge.FindByGoPath(gopath)
if check != nil {
log.Info("findRepo() worked", check.GetGoPath())
return check