From: Yehuda Sadeh Date: Tue, 14 Jan 2025 18:57:06 +0000 (-0500) Subject: rgw: RGWRados::get_olh() needs to use the correct attr X-Git-Tag: testing/wip-hyelloji-testing-20250121.140335~16^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=044cd2c3dd2839753ee364b0a17a0adcb2215657;p=ceph-ci.git rgw: RGWRados::get_olh() needs to use the correct attr Fixes: https://tracker.ceph.com/issues/69536 Signed-off-by: Yehuda Sadeh --- 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; }