Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btf: remove type alias for []Type #989

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Mar 28, 2023

Remove "type types []Type" since the only use case is the ByID method, which doesn't take split BTF into account. Use *Spec instead where necessary.

@lmb lmb requested review from ti-mo and rgo3 March 28, 2023 14:36
btf/btf.go Outdated Show resolved Hide resolved
@lmb lmb force-pushed the btf-remove-types-slice-alias branch from a1f4f07 to 8330c5d Compare March 29, 2023 09:17
Remove "type types []Type" since the only use case is the ByID
method, which doesn't take split BTF into account. Use *Spec
instead where necessary.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb force-pushed the btf-remove-types-slice-alias branch from 8330c5d to f9a0824 Compare March 30, 2023 09:22
@lmb
Copy link
Collaborator Author

lmb commented Mar 30, 2023

Removed the drive-by fix, I'll open a separate PR.

@lmb lmb merged commit 69354d1 into cilium:master Mar 30, 2023
1 check passed
@ti-mo
Copy link
Collaborator

ti-mo commented Mar 30, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants