Skip to content

Commit 34882a4

Browse files
authored
Merge pull request ceph#61370 from yehudasa/wip-69536
rgw: RGWRados::get_olh() needs to use the correct attr Reviewed-by: Casey Bodley <[email protected]>
2 parents 4fea58a + 044cd2c commit 34882a4

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
@@ -8951,7 +8951,7 @@ int RGWRados::get_olh(const DoutPrefixProvider *dpp, RGWBucketInfo& bucket_info,
89518951
return r;
89528952
}
89538953

8954-
auto iter = attrset.find(RGW_ATTR_OLH_VER);
8954+
auto iter = attrset.find(RGW_ATTR_OLH_INFO);
89558955
if (iter == attrset.end()) { /* not an olh */
89568956
return -EINVAL;
89578957
}

0 commit comments

Comments
 (0)