diff options
Diffstat (limited to 'cleanGoSum.go')
| -rw-r--r-- | cleanGoSum.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go index 61f6036..d98fb56 100644 --- a/cleanGoSum.go +++ b/cleanGoSum.go @@ -28,7 +28,7 @@ func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error { all := check.GoDeps.SortByGoPath() for all.Scan() { depRepo := all.Next() - found := f.FindByNamespace(depRepo.GetGoPath()) + found := f.Repos.FindByNamespace(depRepo.GetGoPath()) if found == nil { if f.CheckOverride(depRepo.GetGoPath()) { // skip this gopath because it's probably broken forever @@ -40,7 +40,7 @@ func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error { } // log.Info("found dep", depRepo.GetGoPath()) if depRepo.GetVersion() != found.GetMasterVersion() { - check := f.FindByNamespace(depRepo.GetGoPath()) + check := f.Repos.FindByNamespace(depRepo.GetGoPath()) var ends string if check.CheckDirty() { ends = "(dirty) " @@ -154,7 +154,7 @@ func (f *Forge) 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 := f.FindByNamespace(gopath) + check := f.Repos.FindByNamespace(gopath) if check == nil { log.Info("gopath does not really exist:", gopath) } |
