diff options
| author | Jeff Carr <[email protected]> | 2024-12-03 13:23:55 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-03 13:23:55 -0600 |
| commit | 0fa1ea471fbc196b5f0af10f0a50ab93c35f92f9 (patch) | |
| tree | 5d0ffb1682fb7759fb9c6d7faa37e2fdeb17d5c9 /findNext.go | |
| parent | 135f1e5f427e6dc40d2f521038c042d9613f49a0 (diff) | |
smarter IsReadOnly() logic
Diffstat (limited to 'findNext.go')
| -rw-r--r-- | findNext.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/findNext.go b/findNext.go index c347f3c..c0d16c9 100644 --- a/findNext.go +++ b/findNext.go @@ -107,7 +107,7 @@ func goodGodeps(repo *repolist.RepoRow) bool { for deps.Scan() { depRepo := deps.Next() // log.Info("found dep", depRepo.GetGoPath()) - if me.forge.IsReadOnly(depRepo.GetGoPath()) { + if me.forge.Config.IsReadOnly(depRepo.GoPath) { // log.Info("IsReadOnly = true", depRepo.GetGoPath()) continue } else { @@ -156,7 +156,7 @@ func fixGodeps(check *gitpb.Repo) bool { for deps.Scan() { depRepo := deps.Next() // log.Info("found dep", depRepo.GetGoPath()) - if me.forge.IsReadOnly(depRepo.GetGoPath()) { + if me.forge.Config.IsReadOnly(depRepo.GoPath) { log.Info("IsReadOnly = true", depRepo.GetGoPath()) continue } else { |
