diff options
| author | Jeff Carr <[email protected]> | 2025-11-02 08:57:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-11-02 08:57:24 -0600 |
| commit | ed69922cbf171be887679a2c75fb826dca6349c8 (patch) | |
| tree | 594ab54bf8ff07c39bfe54d98e3c8b5b572a1cc5 /clone.go | |
| parent | cfce1d54b33c5715b2eb1cb47a3bc3d8ece02ddd (diff) | |
.proto changesdevel
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -118,19 +118,19 @@ func recursiveClone(check *gitpb.Repo) error { check.ReloadForce() - if check.GoDeps == nil { + if (check.GoInfo == nil) || (check.GoInfo.GoDeps == nil) { log.Info("repo godeps == nil", check.Namespace) return errors.New("no go deps?") } // probably this should never be 0 because GoPrimitive should have been true otherwise - if check.GoDeps.Len() == 0 { + if check.GoInfo.GoDeps.Len() == 0 { log.Info("repo len(godeps) == 0", check.Namespace) return errors.New("go.sum never parsed?") } - log.Info("deps for", check.Namespace, "len()", check.GoDeps.Len()) - deps := check.GoDeps.SortByGoPath() + log.Info("deps for", check.Namespace, "len()", check.GoInfo.GoDeps.Len()) + deps := check.GoInfo.GoDeps.SortByGoPath() for deps.Scan() { depRepo := deps.Next() log.Info("download:", depRepo.GetGoPath()) |
