mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Remove defer
Replace it with ginkgo.DeferCleanup
This commit is contained in:
@@ -144,7 +144,7 @@ var _ = utils.SIGDescribe("CSI Mock selinux on mount", func() {
|
||||
enableSELinuxMount: &t.csiDriverSELinuxEnabled,
|
||||
hooks: createSELinuxMountPreHook(&nodeStageMountOpts, &nodePublishMountOpts, &stageCalls, &unstageCalls, &publishCalls, &unpublishCalls),
|
||||
})
|
||||
defer m.cleanup(ctx)
|
||||
ginkgo.DeferCleanup(m.cleanup)
|
||||
|
||||
// Act
|
||||
ginkgo.By("Starting the initial pod")
|
||||
|
Reference in New Issue
Block a user