]> 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)
committerCasey Bodley <cbodley@redhat.com>
Wed, 19 Sep 2018 13:35:06 +0000 (09:35 -0400)
commit3a252bbc59fd0a0fb8430e09948420c7092717a6
treee8acf6ba8602c768dff8f42c85e18f0aea71f7be
parentb5647864c1f5765876fdc83ab4289484453e66a6
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>
src/rgw/rgw_rest_user.cc