diff options
| -rw-r--r-- | windowPatches.go | 4 | ||||
| -rw-r--r-- | windowViewRepoPatches.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/windowPatches.go b/windowPatches.go index 362c0ca..f76fa32 100644 --- a/windowPatches.go +++ b/windowPatches.go @@ -84,7 +84,7 @@ func makePatchesWin(patches *forgepb.Patches) *stdPatchTableWin { func applyPatchNew(p *forgepb.Patch) error { rn := p.Namespace - repo := me.forge.FindByNamespace(rn) + repo := me.forge.Repos.FindByNamespace(rn) if repo == nil { log.Info("Could not figure out repo path", rn) return log.Errorf("%s namespace?\n", rn) @@ -117,7 +117,7 @@ func (dwin *stdPatchTableWin) doPatchesTable(currentPatches *forgepb.Patches) { // used by the PB table func applyPatchLabel(p *forgepb.Patch) string { rn := p.Namespace - if repo := me.forge.FindByNamespace(rn); repo == nil { + if repo := me.forge.Repos.FindByNamespace(rn); repo == nil { // log.Info("Could not figure out repo path", rn) return "" } diff --git a/windowViewRepoPatches.go b/windowViewRepoPatches.go index 0f8a38e..c927632 100644 --- a/windowViewRepoPatches.go +++ b/windowViewRepoPatches.go @@ -118,7 +118,7 @@ func (r *repoPatchWindow) addPatchset(grid *gui.Node, pset *forgepb.Set) { for all.Scan() { p := all.Next() s := p.Namespace - repo := me.forge.FindByNamespace(s) + repo := me.forge.Repos.FindByNamespace(s) if repo == nil { log.Info("COULD NOT FIND", s) continue |
