]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/rgw: fix error handling in rgw zone create
authorAdam King <adking@redhat.com>
Wed, 19 Jun 2024 19:04:21 +0000 (15:04 -0400)
committerAdam King <adking@redhat.com>
Fri, 7 Feb 2025 20:45:21 +0000 (15:45 -0500)
commitf27fdd89909e45e29b0ba8f4932926c6bae07cc6
tree00a9773dec9faf8658904b4745cc8a5c018c6b56
parent05bcaab69b1e3f3083f7dcfeb047aaa3cb505264
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>
(cherry picked from commit b6017adfde3c56f0cddcd3d8174e094c26844ac2)
src/pybind/mgr/rgw/module.py