diff options
| author | Jeff Carr <[email protected]> | 2025-09-23 10:17:06 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-23 10:17:06 -0500 |
| commit | ada923ea054a7f3a1721e2e87a658893d55e6226 (patch) | |
| tree | 4ccb807cd43d45bb369cb13e4f0d6d4ffa580204 /handlePatches.go | |
| parent | 2b6107fa51028324196b5c7e08f82b4b1b0bf0ce (diff) | |
changes for new .proto filesv0.0.44
Diffstat (limited to 'handlePatches.go')
| -rw-r--r-- | handlePatches.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/handlePatches.go b/handlePatches.go index 1237cba..0bc6dff 100644 --- a/handlePatches.go +++ b/handlePatches.go @@ -38,8 +38,8 @@ func sendPendingPatches(pb *forgepb.Patches, reqPB *httppb.HttpRequest) *forgepb return allPatchesPB } -func sendPendingPatchsets(pb *forgepb.Patchsets, reqPB *httppb.HttpRequest) *forgepb.Patchsets { - allPatchsetsPB := new(forgepb.Patchsets) +func sendPendingPatchsets(pb *forgepb.Sets, reqPB *httppb.HttpRequest) *forgepb.Sets { + allPatchsetsPB := new(forgepb.Sets) for pset := range me.forge.Patchsets.IterAll() { allPatchsetsPB.Append(pset) } @@ -54,8 +54,8 @@ func makePatchesPB(reqPB *httppb.HttpRequest) (*forgepb.Patches, error) { } */ -func makePatchsetsPB(reqPB *httppb.HttpRequest) (*forgepb.Patchsets, error) { - pb := forgepb.NewPatchsets() +func makePatchsetsPB(reqPB *httppb.HttpRequest) (*forgepb.Sets, error) { + pb := forgepb.NewSets() err := pb.Unmarshal(reqPB.ServerData) return pb, err } |
