mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Remove defer
Replace it with ginkgo.DeferCleanup
This commit is contained in:
parent
03beb014f9
commit
de4ce7b58c
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user