Refactor: Replace context.TODO() with properly plumbed contexts in CSI actions (#10247)

Signed-off-by: opbot_xd <awasthikrishna23052005@gmail.com>
This commit is contained in:
Krishna Awasthi
2026-08-14 16:17:29 +08:00
committed by GitHub
parent 798e34054b
commit 41b95b5919
7 changed files with 44 additions and 29 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ func (r *backupDeletionReconciler) deleteCSIVolumeSnapshotsIfAny(ctx context.Con
}
for _, item := range vsList.Items {
vs := item
csi.CleanupVolumeSnapshot(&vs, r.Client, log)
csi.CleanupVolumeSnapshot(ctx, &vs, r.Client, log)
}
}