summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/windowPatches.go b/windowPatches.go
index 65f54b7..362c0ca 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.FindByGoPath(rn)
+ repo := me.forge.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.FindByGoPath(rn); repo == nil {
+ if repo := me.forge.FindByNamespace(rn); repo == nil {
// log.Info("Could not figure out repo path", rn)
return ""
}