mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-11 21:39:27 +00:00
fix: satisfy the s3s footprint guard
This commit is contained in:
@@ -66,7 +66,10 @@ async fn authorize_recursive_delete<T>(
|
||||
return Ok(());
|
||||
}
|
||||
if page.next_marker.is_none() || (marker == page.next_marker && version_marker == page.next_version_idmarker) {
|
||||
return Err(s3_error!(InternalError, "Recursive delete listing did not advance"));
|
||||
return Err(S3Error::with_message(
|
||||
S3ErrorCode::InternalError,
|
||||
"Recursive delete listing did not advance",
|
||||
));
|
||||
}
|
||||
marker = page.next_marker;
|
||||
version_marker = page.next_version_idmarker;
|
||||
|
||||
Reference in New Issue
Block a user