diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 16:32:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 16:32:28 -0500 |
| commit | a2d6aac9f22bfe1060930e756a7dff86b3918f7e (patch) | |
| tree | a2c95d61c9d1e47a321e773857aebffdd6244474 /cleanGoSum.go | |
| parent | 8535f407ac1e317df9d9bb34dbef7194b23eea1e (diff) | |
wrong logic in func. need to redo this whole thing.v0.0.188
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) } |
