diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 16:47:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 16:47:31 -0500 |
| commit | 7d9366740b6e1c04bc4b614f7d7222004247c791 (patch) | |
| tree | d319b8effeeb0b658176c8fdc962efe7e83b81b9 | |
| parent | 26994805b3ecd5f4c5fcab5913b5afdeb35c2c73 (diff) | |
old namesv0.0.126
| -rw-r--r-- | cleanGoSum.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go index dbef94a..8b9488a 100644 --- a/cleanGoSum.go +++ b/cleanGoSum.go @@ -28,7 +28,7 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error { return errors.New("check.GoDeps == nil") } for depRepo := range check.GoDeps.IterAll() { - found := me.forge.FindByNamespace(depRepo.GetGoPath()) + found := me.forge.Repos.FindByNamespace(depRepo.GetGoPath()) if found == nil { if me.forge.CheckOverride(depRepo.GetGoPath()) { // skip this gopath because it's probably broken forever @@ -39,7 +39,7 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error { } // log.Info("found dep", depRepo.GetGoPath()) if depRepo.GetVersion() != found.GetMasterVersion() { - check := me.forge.FindByNamespace(depRepo.GetGoPath()) + check := me.forge.Repos.FindByNamespace(depRepo.GetGoPath()) var ends string if check.CheckDirty() { ends = "(dirty) " @@ -159,7 +159,7 @@ func trimGoSum(check *gitpb.Repo) error { if good[gopath] { fmt.Fprintf(newf, "%s %s\n", gopath, stuff[gopath]) fmt.Fprintf(newf, "%s %s\n", gopath, modver[gopath]) - check := me.forge.FindByNamespace(gopath) + check := me.forge.Repos.FindByNamespace(gopath) if check == nil { log.Info("gopath does not really exist:", gopath) } |
