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

info: make it harder to add backwards incompatible API #1515

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Jul 15, 2024

People adding new fields to the Info API always get tripped up by how it works. Add a comment which explains why it works the way it does. Also add a test which ensures that new exported fields are only added when they are really warranted.

People adding new fields to the Info API always get tripped up by
how it works. Add a comment which explains why it works the way it does.
Also add a test which ensures that new exported fields are only
added when they are really warranted.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb merged commit 7e18818 into cilium:main Jul 15, 2024
17 checks passed
@lmb lmb deleted the info-explain-function branch July 15, 2024 11:00
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.

2 participants