Fix lint error
This commit is contained in:
parent
d47603472d
commit
8b6fe0ac70
@ -2207,8 +2207,7 @@ func TestImpersonatorConfigControllerSync(t *testing.T) {
|
|||||||
it.Before(func() {
|
it.Before(func() {
|
||||||
addNodeWithRoleToTracker("control-plane", kubeAPIClient)
|
addNodeWithRoleToTracker("control-plane", kubeAPIClient)
|
||||||
addSecretToTrackers(newEmptySecret(tlsSecretName), kubeInformerClient)
|
addSecretToTrackers(newEmptySecret(tlsSecretName), kubeInformerClient)
|
||||||
configMapYAML := fmt.Sprintf("{mode: disabled}")
|
addImpersonatorConfigMapToTracker(configMapResourceName, "{mode: disabled}", kubeInformerClient)
|
||||||
addImpersonatorConfigMapToTracker(configMapResourceName, configMapYAML, kubeInformerClient)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it("does not pass the not found error through", func() {
|
it("does not pass the not found error through", func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user