summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/scan.go b/scan.go
index 554434d..c5b5ae5 100644
--- a/scan.go
+++ b/scan.go
@@ -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())