From 8b6fe0ac708a66efc2f15d106d3d4e98260ca987 Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Tue, 30 Mar 2021 14:53:26 -0700 Subject: [PATCH] Fix lint error --- .../controller/impersonatorconfig/impersonator_config_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/controller/impersonatorconfig/impersonator_config_test.go b/internal/controller/impersonatorconfig/impersonator_config_test.go index 89a990de..c7f7767a 100644 --- a/internal/controller/impersonatorconfig/impersonator_config_test.go +++ b/internal/controller/impersonatorconfig/impersonator_config_test.go @@ -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() {