summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-05 12:49:07 -0600
committerJeff Carr <[email protected]>2024-12-05 12:49:07 -0600
commitc275e762c6aeb68b300a41aa8bb4a65b22233867 (patch)
tree786bf7bf8f0df387f147893d9bfcf5d014cebb88
parentd6ecd246e0a97fd75ca4b0dcf465c50157be9708 (diff)
protobuf changes
-rw-r--r--findNext.go2
-rw-r--r--http.go2
-rw-r--r--human.go2
-rw-r--r--main.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/findNext.go b/findNext.go
index 225cd65..84730eb 100644
--- a/findNext.go
+++ b/findNext.go
@@ -31,7 +31,7 @@ func findNext() bool {
} else {
log.Info("findNext() update needed", check.GoPath, check.GetTargetVersion(), "vs", check.GetCurrentBranchVersion())
}
- if me.forge.IsReadOnly(check) {
+ if me.forge.Config.IsReadOnly(check.GoPath) {
log.Info("findNext() skipping readonly")
continue
}
diff --git a/http.go b/http.go
index 846f93a..512394e 100644
--- a/http.go
+++ b/http.go
@@ -280,7 +280,7 @@ func showNext() {
} else {
log.Info("IsPrimitive() == false")
}
- if me.forge.IsPrivate(check.GoPath) {
+ if me.forge.Config.IsPrivate(check.GoPath) {
log.Info("IsPrivate() == true")
} else {
log.Info("IsPrivate() == false")
diff --git a/human.go b/human.go
index e771238..5b2aaf9 100644
--- a/human.go
+++ b/human.go
@@ -63,7 +63,7 @@ func PrintReleaseReport(readonly string, perfect string) {
loop := me.forge.Repos.SortByGoPath()
for loop.Scan() {
check := loop.Next()
- if me.forge.IsReadOnly(check) {
+ if me.forge.Config.IsReadOnly(check.GoPath) {
continue
}
if check.GetCurrentBranchVersion() == check.GetTargetVersion() {
diff --git a/main.go b/main.go
index c14aebd..126f5f6 100644
--- a/main.go
+++ b/main.go
@@ -115,7 +115,7 @@ func main() {
} else {
repo.Status.SetReadOnly(false)
}
- if me.forge.IsPrivate(repo.GoPath()) {
+ if me.forge.Config.IsPrivate(repo.GoPath()) {
repo.Status.SetPrivate(true)
} else {
repo.Status.SetPrivate(false)