Closed skitt closed 1 year ago
/kind bug
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: logicalhan, skitt
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What type of PR is this?
/kind bug
What this PR does / why we need it:
set.Equal() currently checks the length of the owning set against itself, so a.Equal(b) returns true if a is a superset of b, with no further restriction.
This fixes the length check and adds unit tests to catch this case.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: