]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: /admin/account APIs accept negative values
authorCasey Bodley <cbodley@redhat.com>
Wed, 19 Feb 2025 16:20:20 +0000 (11:20 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 5 Mar 2025 14:06:34 +0000 (09:06 -0500)
commit2626006ca1de1499acde21a9bf50c2213cd3ba71
tree95b406cfd61bddad0f87650984aa4e9897678bbe
parentbb380cffddcc83d03e807d6768baf62414038ea6
rgw: /admin/account APIs accept negative values

radosgw-admin commands accept negative values for the quota limits to
mean unlimited, but the corresponding admin apis were parsing the values
as uint32_t

Fixes: https://tracker.ceph.com/issues/70084
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit df1eff54e2a5e8dbb7b475fc6fe052ee4f4f7ece)
src/rgw/rgw_rest_account.cc