diff options
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()) |
