refactor: use slices.Equal to simplify code#2036
Conversation
Signed-off-by: houpo-bob <houpocun@outlook.com>
The committers listed above are authorized under a signed CLA. |
|
Welcome @houpo-bob! |
Signed. |
|
friendly ping |
|
leaving final approval to @cdrage |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cdrage, houpo-bob, TessaIO The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Thank you for the contribution! Merging :) |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
In the Go 1.21 standard library, a new function has been introduced that enhances code conciseness and readability. It can be find here.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: