Files
velero/pkg/util
Shubham Pampattiwar 99e821a870 Address review feedback: move cache building to volumehelper
- Rename NewVolumeHelperImplWithCache to NewVolumeHelperImplWithNamespaces
- Move cache building logic from backup.go into volumehelper
- Return error from NewVolumeHelperImplWithNamespaces if cache build fails
- Remove fallback in main backup path - backup fails if cache build fails
- Update NewVolumeHelperImpl to call NewVolumeHelperImplWithNamespaces
- Add comments clarifying fallback is only used by plugins
- Update tests for new error return signature

This addresses review comments from @Lyndon-Li and @kaovilai:
- Cache building is now encapsulated in volumehelper
- No fallback in main backup path ensures predictable performance
- Code reuse between constructors

Fixes #9179

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-12-15 14:18:05 -08:00
..
2025-12-02 12:28:03 -05:00
2025-10-09 14:13:43 -04:00
2025-01-17 07:58:10 +01:00
2025-11-24 17:21:00 +08:00
2025-06-26 08:05:50 +02:00
2025-12-02 12:28:03 -05:00
2024-04-10 14:53:29 +08:00
2025-09-11 13:04:24 +08:00
2024-04-10 14:53:29 +08:00
2025-02-25 10:44:45 +08:00