diff options
| author | Jeff Carr <[email protected]> | 2024-01-24 22:22:34 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-24 22:22:34 -0600 |
| commit | ceeab4c0d2bc72b9bd06f58052ee16cf834b1890 (patch) | |
| tree | 8b1b9dbf7563c3e2fc1b04b5512273f70da882a6 /scan.go | |
| parent | 4735d37b3c210d0251256d0b4769c5caf9aaa066 (diff) | |
working on release versioning
Signed-off-by: Jeff Carr <[email protected]>
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()) |
