fix: enable expected-actual rule from testifylint in module `k8s.io/kubelet`

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

Kubernetes-commit: 45faf310a58014e3820a578c109e81eff0966e0d
This commit is contained in:
Matthieu MOREL 2024-09-27 07:47:10 +02:00 committed by Kubernetes Publisher
parent a9f4d743ac
commit 993d229dfb
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func TestInsert(t *testing.T) {
recorder := httptest.NewRecorder()
require.NoError(t, WriteError(err, recorder))
errResponse := recorder.Result()
assert.Equal(t, errResponse.StatusCode, http.StatusTooManyRequests)
assert.Equal(t, http.StatusTooManyRequests, errResponse.StatusCode)
assert.Equal(t, strconv.Itoa(int(cacheTTL.Seconds())), errResponse.Header.Get("Retry-After"))
assertCacheSize(t, c, maxInFlight)