From 100bccedfb1ad9063ca8dbb47e10704d00b52030 Mon Sep 17 00:00:00 2001 From: Michael Shitrit Date: Wed, 3 Jul 2024 09:45:14 +0300 Subject: [PATCH] remove unused variable Signed-off-by: Michael Shitrit --- .../config/selfnoderemediationconfig_controller_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controllers/tests/config/selfnoderemediationconfig_controller_test.go b/controllers/tests/config/selfnoderemediationconfig_controller_test.go index da9eb691..8469e931 100644 --- a/controllers/tests/config/selfnoderemediationconfig_controller_test.go +++ b/controllers/tests/config/selfnoderemediationconfig_controller_test.go @@ -29,18 +29,12 @@ var _ = Describe("SNR Config Test", func() { Namespace: shared.Namespace, Name: dsName, } - var isSkipCleanup bool BeforeEach(func() { ds = &appsv1.DaemonSet{} config = shared.GenerateTestConfig() }) AfterEach(func() { - if isSkipCleanup { - isSkipCleanup = false - return - } - tmpConfig := &selfnoderemediationv1alpha1.SelfNodeRemediationConfig{} tmpDs := &appsv1.DaemonSet{} //verify config exist