Skip to content

Commit

Permalink
Merge pull request #224 from mshitrit/remove-var
Browse files Browse the repository at this point in the history
Remove unused variable `isSkipCleanup`
  • Loading branch information
openshift-merge-bot[bot] authored Jul 17, 2024
2 parents 22336d0 + 100bcce commit 1fad92c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fad92c

Please sign in to comment.