summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go4
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 {