summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/findNext.go b/findNext.go
index 536d798..b36594c 100644
--- a/findNext.go
+++ b/findNext.go
@@ -25,11 +25,10 @@ func rillFixGodeps(repo *gitpb.Repo) error {
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
return nil
}
- if fixGodeps(repo) {
- log.Info("Rill fixGoDeps() returned true")
- } else {
- log.Info("Rill fixGoDeps() returned false")
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
+ return nil
}
+ runGoClean(repo, "--strict")
return nil
}
@@ -38,7 +37,7 @@ func rillFixGodeps(repo *gitpb.Repo) error {
// rename this findNext()
func findNext() bool {
now := time.Now()
- me.forge.RillFuncError(20, 10, rillFixGodeps)
+ me.forge.RillFuncError(rillFixGodeps)
log.Printf("rillFixGodeps() (%d total repos) took:%s\n", me.forge.Repos.Len(), shell.FormatDuration(time.Since(now)))
findCounter = 0