diff options
author | cao.leilc <cao.leilc@inspur.com> | 2022-12-14 10:44:52 +0100 |
---|---|---|
committer | cao.leilc <cao.leilc@inspur.com> | 2022-12-14 10:44:52 +0100 |
commit | 48380f09374e22f1d9b8fa3d4ece5a8f269b9f0e (patch) | |
tree | 4e85419dbb0ab3fb94f3581f15e7f2b8eb83fb5c /src/rgw | |
parent | Merge pull request #48545 from ronen-fr/wip-rf-slow-replica (diff) | |
download | ceph-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')
-rw-r--r-- | src/rgw/rgw_rest_oidc_provider.cc | 2 |
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); |