diff options
Diffstat (limited to 'cleanGoSum.go')
| -rw-r--r-- | cleanGoSum.go | 4 |
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()) |
