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

Switch comparisons from reflect.DeepEqual to slices/maps libs #2484

Merged

Conversation

sebrandon1
Copy link
Member

Take advantage of slices and maps built in packages when comparing maps and string slices.

The maps and slices packages were added in Go 1.21: https://tip.golang.org/doc/go1.21#library

@sebrandon1 sebrandon1 self-assigned this Oct 2, 2024
@dcibot
Copy link
Collaborator

dcibot commented Oct 2, 2024

@sebrandon1 sebrandon1 merged commit 621bf0b into redhat-best-practices-for-k8s:main Oct 3, 2024
36 checks passed
@sebrandon1 sebrandon1 deleted the maps_slices_equal branch October 3, 2024 15:29
@dcibot
Copy link
Collaborator

dcibot commented Oct 3, 2024

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