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: avoid triggering feature probe on import #1045

Merged
merged 1 commit into from
May 30, 2023

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented May 25, 2023

Importing package btf currently executes a feature test since we use it to initialize a global variable. Move initialization to a function to avoid this.

Importing package btf currently executes a feature test since
we use it to initialize a global variable. Move initialization
to a function to avoid this.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb requested review from ti-mo and rgo3 May 25, 2023 16:36
Copy link
Contributor

@rgo3 rgo3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the CI failure is just a semaphore hickup I guess?

@lmb lmb merged commit 20c4d88 into cilium:master May 30, 2023
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.

3 participants