diff options
Diffstat (limited to 'handlePatches.go')
| -rw-r--r-- | handlePatches.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handlePatches.go b/handlePatches.go index 0bc6dff..03ea1c7 100644 --- a/handlePatches.go +++ b/handlePatches.go @@ -30,7 +30,7 @@ func handleMergedPatches(pb *forgepb.Patches, reqPB *httppb.HttpRequest) *forgep func sendPendingPatches(pb *forgepb.Patches, reqPB *httppb.HttpRequest) *forgepb.Patches { allPatchesPB := new(forgepb.Patches) - for pset := range me.forge.Patchsets.IterAll() { + for pset := range me.Patchsets.IterAll() { for newpatch := range pset.Patches.IterAll() { allPatchesPB.Append(newpatch) } @@ -40,7 +40,7 @@ func sendPendingPatches(pb *forgepb.Patches, reqPB *httppb.HttpRequest) *forgepb func sendPendingPatchsets(pb *forgepb.Sets, reqPB *httppb.HttpRequest) *forgepb.Sets { allPatchsetsPB := new(forgepb.Sets) - for pset := range me.forge.Patchsets.IterAll() { + for pset := range me.Patchsets.IterAll() { allPatchsetsPB.Append(pset) } return allPatchsetsPB |
