]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: set keys from from master zone on admin api user modify 51601/head
authorAli Maredia <amaredia@redhat.com>
Tue, 29 Nov 2022 22:31:25 +0000 (17:31 -0500)
committerAli Maredia <amaredia@redhat.com>
Fri, 19 May 2023 20:09:25 +0000 (16:09 -0400)
commitbe23f5b2dd88c7d2bc2525825e30294f13f6585d
tree778cba3ebaeffb248bd498961dc81b498fe6e365
parent5bd816227fcbee17a1ad587eb7d97b4a670e7229
rgw: set keys from from master zone on admin api user modify

When users were being modified via the admin_api
to generate keys on a secondary zone, the keys
returned in the json output are not correct.

This commit ensures the proper keys are set to be
returned to the user via the json output.

fixes: https://tracker.ceph.com/issues/57724

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/rgw/rgw_rest_user.cc
src/rgw/rgw_user.cc
src/rgw/rgw_user.h