Skip to content

Conversation

jrajahalme
Copy link
Member

Labels is a map where the label Key is the map key. Therefore when the key is known, we can do a simple map lookup instead of iterating through the labels.

Labels is a map where the label Key is the map key. Therefore when the
key is known, we can do a simple map lookup instead of iterating through
the labels.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added kind/enhancement This would improve or streamline existing functionality. release-note/misc This PR makes changes that have no direct user impact. area/agent Cilium agent related. labels Aug 13, 2024
@jrajahalme jrajahalme requested review from a team as code owners August 13, 2024 13:40
@github-actions github-actions bot added the sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. label Aug 13, 2024
@jrajahalme
Copy link
Member Author

/test

Copy link
Contributor

@learnitall learnitall left a comment

Choose a reason for hiding this comment

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

Great idea, thanks!

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Aug 15, 2024
@youngnick youngnick added this pull request to the merge queue Aug 19, 2024
Merged via the queue into cilium:main with commit 36629c2 Aug 19, 2024
81 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent Cilium agent related. kind/enhancement This would improve or streamline existing functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants