summaryrefslogtreecommitdiff
path: root/finalGoSumCheck.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
committerJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
commit192985619e462e22ef6967557bf1398a9613d0f6 (patch)
treec3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /finalGoSumCheck.go
parent5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff)
new funcname
Diffstat (limited to 'finalGoSumCheck.go')
-rw-r--r--finalGoSumCheck.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/finalGoSumCheck.go b/finalGoSumCheck.go
index 2d70c3b..dfdbf45 100644
--- a/finalGoSumCheck.go
+++ b/finalGoSumCheck.go
@@ -35,7 +35,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo, verbose bool) error {
deps := check.GoDeps.SortByGoPath()
for deps.Scan() {
depRepo := deps.Next()
- found := f.FindByGoPath(depRepo.GetGoPath())
+ found := f.FindByNamespace(depRepo.GetGoPath())
if found == nil {
if f.CheckOverride(depRepo.GetGoPath()) {
// skip this gopath because it's probably broken forever
@@ -49,7 +49,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo, verbose bool) error {
}
// log.Info("found dep", depRepo.GetGoPath())
if depRepo.GetVersion() != found.GetTargetVersion() {
- check := f.FindByGoPath(depRepo.GetGoPath())
+ check := f.FindByNamespace(depRepo.GetGoPath())
if f.Config.IsReadOnly(check.GetGoPath()) {
if verbose {
log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())
@@ -117,7 +117,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
all := godeps.SortByGoPath()
for all.Scan() {
depRepo := all.Next()
- found := f.FindByGoPath(depRepo.GetGoPath())
+ found := f.FindByNamespace(depRepo.GetGoPath())
if found == nil {
if f.CheckOverride(depRepo.GetGoPath()) {
// skip this gopath because it's probably broken forever
@@ -131,7 +131,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
}
// log.Info("found dep", depRepo.GetGoPath())
if depRepo.GetVersion() != found.GetTargetVersion() {
- check := f.FindByGoPath(depRepo.GetGoPath())
+ check := f.FindByNamespace(depRepo.GetGoPath())
if f.Config.IsReadOnly(check.GetGoPath()) {
if verbose {
log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())