diff options
author | Casey Bodley <cbodley@redhat.com> | 2025-01-09 15:53:50 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2025-01-09 15:53:52 +0100 |
commit | 2f7a94c71d323f93ba9bf3e40a91e1d925eba200 (patch) | |
tree | d2f64f7be49abf088838091fbc1a34202386cfad | |
parent | Merge pull request #60891 from xxhdx1985126/wip-seastore-fadvise-backfill (diff) | |
download | ceph-2f7a94c71d323f93ba9bf3e40a91e1d925eba200.tar.xz ceph-2f7a94c71d323f93ba9bf3e40a91e1d925eba200.zip |
rgw: /admin/user api dumps account-related user info
the admin api uses a separate dump_user_info() function that wasn't
updated with the account changes to RGWUserInfo::dump()
Fixes: https://tracker.ceph.com/issues/69462
Signed-off-by: Casey Bodley <cbodley@redhat.com>
-rw-r--r-- | src/rgw/driver/rados/rgw_user.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rgw/driver/rados/rgw_user.cc b/src/rgw/driver/rados/rgw_user.cc index 894d8e40950..cce593c6bd5 100644 --- a/src/rgw/driver/rados/rgw_user.cc +++ b/src/rgw/driver/rados/rgw_user.cc @@ -189,6 +189,11 @@ static void dump_user_info(Formatter *f, RGWUserInfo &info, } encode_json("type", user_source_type, f); encode_json("mfa_ids", info.mfa_ids, f); + encode_json("account_id", info.account_id, f); + encode_json("path", info.path, f); + encode_json("create_date", info.create_date, f); + encode_json("tags", info.tags, f); + encode_json("group_ids", info.group_ids, f); if (stats) { encode_json("stats", *stats, f); } |