Fix lint error

This commit is contained in:
Margo Crawford 2021-03-30 14:53:26 -07:00
parent d47603472d
commit 8b6fe0ac70

View File

@ -2207,8 +2207,7 @@ func TestImpersonatorConfigControllerSync(t *testing.T) {
it.Before(func() {
addNodeWithRoleToTracker("control-plane", kubeAPIClient)
addSecretToTrackers(newEmptySecret(tlsSecretName), kubeInformerClient)
configMapYAML := fmt.Sprintf("{mode: disabled}")
addImpersonatorConfigMapToTracker(configMapResourceName, configMapYAML, kubeInformerClient)
addImpersonatorConfigMapToTracker(configMapResourceName, "{mode: disabled}", kubeInformerClient)
})
it("does not pass the not found error through", func() {