-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Use slices.Sorted(maps.Keys(...))
to get sorted list of map keys
#38519
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
Conversation
/test |
b1f5857
to
9b8f693
Compare
/test |
82af30f
to
e7375cc
Compare
Use convenience functions provided in the Go standard library maps and slices packages to reduce boilerplate code. Signed-off-by: Tobias Klauser <tobias@cilium.io>
e7375cc
to
2c5c91e
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for my codeowners, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tklauser Nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for sig-lb
/test |
Use convenience functions provided in the Go standard library
maps
andslices
packages to reduce boilerplate code.