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

Add a function to perform case-insensitive search in mapstr.M #244

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

rdner
Copy link
Member

@rdner rdner commented Oct 29, 2024

What does this PR do?

FindFold (similar to strings.EqualFold) traverses the map and tries to perform a case-insensitive match of each key segment on each map level.

Why is it important?

It's a prerequisite for elastic/beats#41424

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Related issues

`FindFold` (similar to `strings.EqualFold`) traverses the map and
tries to perform a case-insensitive match of each key segment on
each map level.
@rdner rdner added enhancement New feature or request Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Oct 29, 2024
@rdner rdner self-assigned this Oct 29, 2024
@rdner rdner requested a review from a team as a code owner October 29, 2024 09:33
@rdner rdner requested review from VihasMakwana and removed request for a team October 29, 2024 09:33
@rdner rdner enabled auto-merge (squash) October 29, 2024 10:08
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @rdner

@rdner rdner merged commit 9d6c29d into elastic:main Oct 29, 2024
6 checks passed
@rdner rdner deleted the map-find-fold branch October 29, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants