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() { 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() {