Skip to content

Commit

Permalink
Stop generating code for pooling
Browse files Browse the repository at this point in the history
The pooling code is not used anymore, so it is not necessary to generate
it. Removes pooling code generation from the Makefile and the modelpb
generation script.

Signed-off-by: Marc Lopez Rubio <[email protected]>
  • Loading branch information
marclop committed Sep 3, 2024
1 parent ff9005d commit aee3755
Show file tree
Hide file tree
Showing 41 changed files with 167 additions and 1,998 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ install-protobuf:

generate-modelpb: install-protobuf
./tools/generate-modelpb.sh
@$(MAKE) update-licenses fmt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestResliceAndPopulateNil(t *testing.T) {
assert.Equal(t, downsize, len(s))

upsize := 21
s = ResliceAndPopulateNil(s, upsize, modelpb.APMEventFromVTPool)
s = ResliceAndPopulateNil(s, upsize, NewType[modelpb.APMEvent])
validateBackingArray(t, s, upsize)
assert.Equal(t, upsize, len(s))
}
Expand Down
23 changes: 1 addition & 22 deletions model/modelpb/agent_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

112 changes: 30 additions & 82 deletions model/modelpb/apmevent_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aee3755

Please sign in to comment.