summaryrefslogtreecommitdiff
path: root/doStrict.go
diff options
context:
space:
mode:
Diffstat (limited to 'doStrict.go')
-rw-r--r--doStrict.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doStrict.go b/doStrict.go
index 8e49b8f..c36278a 100644
--- a/doStrict.go
+++ b/doStrict.go
@@ -44,7 +44,7 @@ func doStrict(repo *gitpb.Repo) error {
return err
}
- if forge.Config.IsReadOnly(repo.GetGoPath()) {
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
log.Info("you can not push to read only repositories.", repo.GetGoPath())
log.Info("change your .config/forge/ to indicate you own this repository")
return nil