diff options
Diffstat (limited to 'scanGoSum.go')
| -rw-r--r-- | scanGoSum.go | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/scanGoSum.go b/scanGoSum.go index 55890ec..5b1fe97 100644 --- a/scanGoSum.go +++ b/scanGoSum.go @@ -6,25 +6,14 @@ import ( "go.wit.com/log" ) -/* -func getGoSumStatus(r *repolist.Repo) string { - return r.Status.GoSumStatus.String() -} - -func setGoSumStatus(r *repolist.Repo, s string) { - r.goSumStatus.SetLabel(s) - r.status.SetGoSumStatus(s) -} -*/ - func checkSafeGoSumRemake(r *repolist.Repo) { if ok, bad := r.Status.CheckSafeGoSumRemake(); ok { log.Info("checkSafeGoSumRemake() is safe to redo") - r.Status.SetGoSumStatus("SAFE") + r.SetGoState("SAFE") r.Status.MakeRedomod() } else { log.Info("checkSafeGoSumRemake() is not safe. problems:", bad) - r.Status.SetGoSumStatus("BAD DEP") + r.SetGoState("BAD DEP") } } |
