Merge pull request #127686 from mmorel-35/testifylint/expected-actual@k8s.io/endpointslice

fix: enable expected-actual rule from testifylint in module `k8s.io/endpointslice`
This commit is contained in:
Kubernetes Prow Robot 2024-09-29 03:48:02 +01:00 committed by GitHub
commit 9c8553bd37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -881,7 +881,7 @@ func TestSetEndpointSliceLabels(t *testing.T) {
logger, _ := ktesting.NewTestContext(t)
svc := tc.updateSvc(service)
labels, updated := setEndpointSliceLabels(logger, tc.epSlice, &svc, controllerName)
assert.EqualValues(t, updated, tc.expectedUpdate)
assert.EqualValues(t, tc.expectedUpdate, updated)
assert.EqualValues(t, tc.expectedLabels, labels)
})
}