summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-11-02 08:58:56 -0600
committerJeff Carr <[email protected]>2025-11-02 08:58:56 -0600
commitab7db21e07faac62f1abfb2b33634586979a0ded (patch)
tree19a58f865c31be555f75b00cd213796ca542a4ee /cleanGoSum.go
parent6fa3221e265933038342acb50caad3c2bbb6c136 (diff)
new gitpb/repo.protodevel
Diffstat (limited to 'cleanGoSum.go')
-rw-r--r--cleanGoSum.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go
index d98fb56..e45fdc5 100644
--- a/cleanGoSum.go
+++ b/cleanGoSum.go
@@ -22,10 +22,10 @@ func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error {
var fixes [][]string
log.Printf("%s repo go dependancy count: %d\n", check.GetGoPath(), check.GoDepsLen())
- if check.GoDeps == nil {
+ if check.GoInfo.GoDeps == nil {
return errors.New("check.GoDeps == nil")
}
- all := check.GoDeps.SortByGoPath()
+ all := check.GoInfo.GoDeps.SortByGoPath()
for all.Scan() {
depRepo := all.Next()
found := f.Repos.FindByNamespace(depRepo.GetGoPath())