diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
| commit | 192985619e462e22ef6967557bf1398a9613d0f6 (patch) | |
| tree | c3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /finalGoSumCheck.go | |
| parent | 5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff) | |
new funcname
Diffstat (limited to 'finalGoSumCheck.go')
| -rw-r--r-- | finalGoSumCheck.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/finalGoSumCheck.go b/finalGoSumCheck.go index 2d70c3b..dfdbf45 100644 --- a/finalGoSumCheck.go +++ b/finalGoSumCheck.go @@ -35,7 +35,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo, verbose bool) error { deps := check.GoDeps.SortByGoPath() for deps.Scan() { depRepo := deps.Next() - found := f.FindByGoPath(depRepo.GetGoPath()) + found := f.FindByNamespace(depRepo.GetGoPath()) if found == nil { if f.CheckOverride(depRepo.GetGoPath()) { // skip this gopath because it's probably broken forever @@ -49,7 +49,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo, verbose bool) error { } // log.Info("found dep", depRepo.GetGoPath()) if depRepo.GetVersion() != found.GetTargetVersion() { - check := f.FindByGoPath(depRepo.GetGoPath()) + check := f.FindByNamespace(depRepo.GetGoPath()) if f.Config.IsReadOnly(check.GetGoPath()) { if verbose { log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) @@ -117,7 +117,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error { all := godeps.SortByGoPath() for all.Scan() { depRepo := all.Next() - found := f.FindByGoPath(depRepo.GetGoPath()) + found := f.FindByNamespace(depRepo.GetGoPath()) if found == nil { if f.CheckOverride(depRepo.GetGoPath()) { // skip this gopath because it's probably broken forever @@ -131,7 +131,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error { } // log.Info("found dep", depRepo.GetGoPath()) if depRepo.GetVersion() != found.GetTargetVersion() { - check := f.FindByGoPath(depRepo.GetGoPath()) + check := f.FindByNamespace(depRepo.GetGoPath()) if f.Config.IsReadOnly(check.GetGoPath()) { if verbose { log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion()) |
