fix: return null versionId when suspended (#1066) (#1709)

This commit is contained in:
loverustfs
2026-02-04 09:22:52 +08:00
committed by GitHub
parent 174e12bf66
commit a4563f7b41
3 changed files with 66 additions and 5 deletions
+1 -4
View File
@@ -36,10 +36,7 @@ impl VersioningApi for VersioningConfiguration {
return true;
}
if let Some(exclude_folders) = self.exclude_folders
&& exclude_folders
&& prefix.ends_with('/')
{
if self.exclude_folders.unwrap_or(false) && prefix.ends_with('/') {
return false;
}