summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_oidc_provider.cc
diff options
context:
space:
mode:
authorcao.leilc <cao.leilc@inspur.com>2022-12-14 10:44:52 +0100
committercao.leilc <cao.leilc@inspur.com>2022-12-14 10:44:52 +0100
commit48380f09374e22f1d9b8fa3d4ece5a8f269b9f0e (patch)
tree4e85419dbb0ab3fb94f3581f15e7f2b8eb83fb5c /src/rgw/rgw_rest_oidc_provider.cc
parentMerge pull request #48545 from ronen-fr/wip-rf-slow-replica (diff)
downloadceph-48380f09374e22f1d9b8fa3d4ece5a8f269b9f0e.tar.xz
ceph-48380f09374e22f1d9b8fa3d4ece5a8f269b9f0e.zip
rgw: fix ListOpenIDConnectProviders XML format
Fixes: https://tracker.ceph.com/issues/53171 Signed-off-by: caolei <cao.leilc@inspur.com>
Diffstat (limited to 'src/rgw/rgw_rest_oidc_provider.cc')
-rw-r--r--src/rgw/rgw_rest_oidc_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_oidc_provider.cc b/src/rgw/rgw_rest_oidc_provider.cc
index 2fc0bab25a6..db4bc12fcff 100644
--- a/src/rgw/rgw_rest_oidc_provider.cc
+++ b/src/rgw/rgw_rest_oidc_provider.cc
@@ -219,7 +219,7 @@ void RGWListOIDCProviders::execute(optional_yield y)
s->formatter->open_object_section("ListOpenIDConnectProvidersResult");
s->formatter->open_array_section("OpenIDConnectProviderList");
for (const auto& it : result) {
- s->formatter->open_object_section("Arn");
+ s->formatter->open_object_section("member");
auto& arn = it->get_arn();
ldpp_dout(s, 0) << "ARN: " << arn << dendl;
s->formatter->dump_string("Arn", arn);