diff options
Diffstat (limited to 'scan.go')
| -rw-r--r-- | scan.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,7 +75,7 @@ func (r *repo) getStatus() string { } func scanGoSum() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { latestversion := repo.status.GetLastTagVersion() if repo.goSumStatus.String() == "BAD" { continue @@ -100,11 +100,11 @@ func scanGoSum() { // release.openrepo.Enable() continue } - if repo.status.CheckGoSum() { + if ok, missing := repo.status.CheckGoSum(); ok { log.Info("repo has go.sum requirements that are clean") repo.goSumStatus.SetLabel("CLEAN") } else { - log.Info("repo has go.sum requirements that are screwed up") + log.Info("repo has go.sum requirements that are screwed up. missing:", missing) repo.goSumStatus.SetLabel("BAD") // release.repo.SetValue(repo.status.String()) |
