Fix typo in function emptyInvariants()

This commit is contained in:
Peter Schuurman 2022-11-07 14:47:51 -08:00
parent 67425594f3
commit 9258cb4041
4 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ func PodRecreateDeleteFailure(t *testing.T, set *apps.StatefulSet, invariants in
}
}
func emptyInvaraints(set *apps.StatefulSet, om *fakeObjectManager) error {
func emptyInvariants(set *apps.StatefulSet, om *fakeObjectManager) error {
return nil
}
@ -584,7 +584,7 @@ func TestStatefulSetControlWithStartOrdinal(t *testing.T) {
testFn := testCase.fn
set := testObj()
testFn(t, set, emptyInvaraints)
testFn(t, set, emptyInvariants)
}
}