]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove redundant quota logic from admin/user api
authorCasey Bodley <cbodley@redhat.com>
Wed, 19 Sep 2018 13:35:03 +0000 (09:35 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 12 Nov 2018 14:30:42 +0000 (15:30 +0100)
commit5caddb39faf1313d9ebf7ddcdee01242d334bd8b
tree23d73a69e64b01bb8fb03056774397b19e0bc3e2
parent89b7a11d0b45d927bdf22496ca12055954868f23
rgw: remove redundant quota logic from admin/user api

RGWOp_User_Create was applying the configured default quotas to the
RGWUserAdminOpState, but RGWUser::execute_add() will already apply those
defaults when the AdminOpState doesn't provide them

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3a252bbc59fd0a0fb8430e09948420c7092717a6)
src/rgw/rgw_rest_user.cc