diff options
| -rw-r--r-- | cleanGoSum.go | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go index dbef94a..8b9488a 100644 --- a/cleanGoSum.go +++ b/cleanGoSum.go @@ -28,7 +28,7 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error {  		return errors.New("check.GoDeps == nil")  	}  	for depRepo := range check.GoDeps.IterAll() { -		found := me.forge.FindByNamespace(depRepo.GetGoPath()) +		found := me.forge.Repos.FindByNamespace(depRepo.GetGoPath())  		if found == nil {  			if me.forge.CheckOverride(depRepo.GetGoPath()) {  				// skip this gopath because it's probably broken forever @@ -39,7 +39,7 @@ func cleanGoDepsCheckOk(check *gitpb.Repo) error {  		}  		// log.Info("found dep", depRepo.GetGoPath())  		if depRepo.GetVersion() != found.GetMasterVersion() { -			check := me.forge.FindByNamespace(depRepo.GetGoPath()) +			check := me.forge.Repos.FindByNamespace(depRepo.GetGoPath())  			var ends string  			if check.CheckDirty() {  				ends = "(dirty) " @@ -159,7 +159,7 @@ func trimGoSum(check *gitpb.Repo) error {  		if good[gopath] {  			fmt.Fprintf(newf, "%s %s\n", gopath, stuff[gopath])  			fmt.Fprintf(newf, "%s %s\n", gopath, modver[gopath]) -			check := me.forge.FindByNamespace(gopath) +			check := me.forge.Repos.FindByNamespace(gopath)  			if check == nil {  				log.Info("gopath does not really exist:", gopath)  			}  | 
