summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 03:35:08 -0600
committerJeff Carr <[email protected]>2024-12-18 03:35:08 -0600
commit37500b94969863a210c5f1cf334491d1f9b57d14 (patch)
tree3027b744a1fe599a10d07db3e71ce55c9ffb200c
parent572a5f37a68f51e3a6745a967d94f3a6b105a750 (diff)
-rw-r--r--main.go2
-rw-r--r--repomap.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 40c8449..6c3792b 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ func main() {
if argv.Hostname != "" {
HOSTNAME = argv.Hostname
}
- forge = forgepb.InitPB()
+ forge = forgepb.Init()
versionMap = make(map[string]string)
repoMap = make(map[string]string)
diff --git a/repomap.go b/repomap.go
index 8d333d1..31a1fd3 100644
--- a/repomap.go
+++ b/repomap.go
@@ -65,7 +65,7 @@ func readRepomap() {
giturl := fields[1]
repoMap[gopath] = giturl
- repo := forge.Repos.FindByFullPath(gopath)
+ repo := forge.FindByGoPath(gopath)
if repo != nil {
version := repo.GetLastTag()
age := repo.NewestAge()