mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge pull request #49402 from BryceCao/wip-fix-usage-trim-cant-be-control-by-remove-all
rgw: fix problem that usage is trimmed when the remove-all parameter … Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
d1089b99f6
@ -94,7 +94,7 @@ void RGWOp_Usage_Delete::execute(optional_yield y) {
|
||||
RESTArgs::get_epoch(s, "end", (uint64_t)-1, &end);
|
||||
|
||||
if (rgw::sal::User::empty(user.get()) &&
|
||||
!bucket_name.empty() &&
|
||||
bucket_name.empty() &&
|
||||
!start &&
|
||||
end == (uint64_t)-1) {
|
||||
bool remove_all;
|
||||
|
Loading…
Reference in New Issue
Block a user