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 /cleanGoSum.go | |
| parent | 5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff) | |
new funcname
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 400ba07..73a2d30 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.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 @@ -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.FindByGoPath(depRepo.GetGoPath()) + check := f.FindByNamespace(depRepo.GetGoPath()) var ends string if check.CheckDirty() { ends = "(dirty) " @@ -151,7 +151,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.FindByGoPath(gopath) + check := f.FindByNamespace(gopath) if check == nil { log.Info("gopath does not really exist:", gopath) } |
