]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: /admin/account APIs accept negative values 61907/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 19 Feb 2025 16:20:20 +0000 (11:20 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 19 Feb 2025 16:20:22 +0000 (11:20 -0500)
commitdf1eff54e2a5e8dbb7b475fc6fe052ee4f4f7ece
tree57a27e21a0e95d76734242f12791825b02d32c4c
parent8b833f53ccfa1f04138e1955022a14476464bfde
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>
src/rgw/rgw_rest_account.cc