Skip to content

Commit 044cd2c

Browse files
committed
rgw: RGWRados::get_olh() needs to use the correct attr
Fixes: https://tracker.ceph.com/issues/69536 Signed-off-by: Yehuda Sadeh <[email protected]>
1 parent ce0d6fc commit 044cd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/rados/rgw_rados.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8904,7 +8904,7 @@ int RGWRados::get_olh(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info,
89048904
return r;
89058905
}
89068906

8907-
auto iter = attrset.find(RGW_ATTR_OLH_VER);
8907+
auto iter = attrset.find(RGW_ATTR_OLH_INFO);
89088908
if (iter == attrset.end()) { /* not an olh */
89098909
return -EINVAL;
89108910
}

0 commit comments

Comments
 (0)