diff options
author | Yehuda Sadeh <ysadehwe@ibm.com> | 2025-01-14 19:57:06 +0100 |
---|---|---|
committer | Yehuda Sadeh <ysadehwe@ibm.com> | 2025-01-14 19:57:06 +0100 |
commit | 044cd2c3dd2839753ee364b0a17a0adcb2215657 (patch) | |
tree | c0723fde008cb55fe309d38fdddfa071e2795875 | |
parent | Merge pull request #60554 from jshen28/fix-legacy-addr-mismatch (diff) | |
download | ceph-044cd2c3dd2839753ee364b0a17a0adcb2215657.tar.xz ceph-044cd2c3dd2839753ee364b0a17a0adcb2215657.zip |
rgw: RGWRados::get_olh() needs to use the correct attr
Fixes: https://tracker.ceph.com/issues/69536
Signed-off-by: Yehuda Sadeh <ysadehwe@ibm.com>
-rw-r--r-- | src/rgw/driver/rados/rgw_rados.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/driver/rados/rgw_rados.cc b/src/rgw/driver/rados/rgw_rados.cc index a133b54dc59..2ee5f545326 100644 --- a/src/rgw/driver/rados/rgw_rados.cc +++ b/src/rgw/driver/rados/rgw_rados.cc @@ -8904,7 +8904,7 @@ int RGWRados::get_olh(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info, return r; } - auto iter = attrset.find(RGW_ATTR_OLH_VER); + auto iter = attrset.find(RGW_ATTR_OLH_INFO); if (iter == attrset.end()) { /* not an olh */ return -EINVAL; } |