summaryrefslogtreecommitdiff
path: root/finalGoSumCheck.go
diff options
context:
space:
mode:
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 1935028..daee477 100644
--- a/finalGoSumCheck.go
+++ b/finalGoSumCheck.go
@@ -36,7 +36,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) error {
deps := check.GoDeps.SortByGoPath()
for deps.Scan() {
depRepo := deps.Next()
- found := f.FindByNamespace(depRepo.GetGoPath())
+ found := f.Repos.FindByNamespace(depRepo.GetGoPath())
if found == nil {
if f.CheckOverride(depRepo.GetGoPath()) {
// skip this gopath because it's probably broken forever
@@ -50,7 +50,7 @@ func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) error {
}
// log.Info("found dep", depRepo.GetGoPath())
if depRepo.GetVersion() != found.GetTargetVersion() {
- check := f.FindByNamespace(depRepo.GetGoPath())
+ check := f.Repos.FindByNamespace(depRepo.GetGoPath())
if f.Config.IsReadOnly(check.GetGoPath()) {
if ENV.Verbose() {
log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())
@@ -124,7 +124,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps) error {
all := godeps.SortByGoPath()
for all.Scan() {
depRepo := all.Next()
- found := f.FindByNamespace(depRepo.GetGoPath())
+ found := f.Repos.FindByNamespace(depRepo.GetGoPath())
if found == nil {
if f.CheckOverride(depRepo.GetGoPath()) {
// skip this gopath because it's probably broken forever
@@ -138,7 +138,7 @@ func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps) error {
}
// log.Info("found dep", depRepo.GetGoPath())
if depRepo.GetVersion() != found.GetTargetVersion() {
- check := f.FindByNamespace(depRepo.GetGoPath())
+ check := f.Repos.FindByNamespace(depRepo.GetGoPath())
if f.Config.IsReadOnly(check.GetGoPath()) {
if ENV.Verbose() {
log.Printf("%-48s ok error .%s. vs .%s. (ignoring read-only repo)\n", depRepo.GetGoPath(), depRepo.GetVersion(), found.GetTargetVersion())