Files
03b8413ea0 Skip DeleteSnapshot when ProviderSnapshotID is empty (#9795)
When CreateSnapshot fails (e.g. quota limit), the snapshot is recorded
with an empty ProviderSnapshotID. During backup deletion, velero was
calling DeleteSnapshot("") which produces unnecessary 404 API calls.

Skip the DeleteSnapshot call when ProviderSnapshotID is empty and log
a warning instead.

Fixes #9429

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
(cherry picked from commit 09c1656df9)

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
2026-08-24 14:29:45 +00:00
..