diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 11:08:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 11:08:59 -0500 |
| commit | e8a7433c9588827b275cbcf7a8745f886dd59ad4 (patch) | |
| tree | 727fc242f5d5da8ea36a50a09af9324ad903aa9d /handlePatches.go | |
| parent | de85934267a150290d4ffff052027a3363f3ce10 (diff) | |
adapt to the new lib/config and lib/ENVv0.0.65
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 |
