]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rgw: fix error handling in rgw zone create 58142/head
authorAdam King <adking@redhat.com>
Wed, 19 Jun 2024 19:04:21 +0000 (15:04 -0400)
committerAdam King <adking@redhat.com>
Wed, 19 Jun 2024 19:09:08 +0000 (15:09 -0400)
commitb6017adfde3c56f0cddcd3d8174e094c26844ac2
tree8f750944a2666c65280d56e315aea3bc8927c8ca
parent009e20e59554284013bea2c6b1813d0779f80bd9
mgr/rgw: fix error handling in rgw zone create

This was returning either a list of strings or
a HandleCommandResult and in the latter case
it would error out trying to build the final
return message which covered up the original
error

Fixes: https://tracker.ceph.com/issues/66568
Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/rgw/module.py