summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_rados.cc
diff options
context:
space:
mode:
authorJ. Eric Ivancich <ivancich@redhat.com>2025-01-17 15:30:07 +0100
committerGitHub <noreply@github.com>2025-01-17 15:30:07 +0100
commit34882a4048cbcc6cdf9e33c1650872980b2f71e0 (patch)
tree163941d6d7ec9e7a74cffb24ab9ce81ff476eec5 /src/rgw/driver/rados/rgw_rados.cc
parentMerge pull request #61285 from cbodley/wip-69462 (diff)
parentrgw: RGWRados::get_olh() needs to use the correct attr (diff)
downloadceph-34882a4048cbcc6cdf9e33c1650872980b2f71e0.tar.xz
ceph-34882a4048cbcc6cdf9e33c1650872980b2f71e0.zip
Merge pull request #61370 from yehudasa/wip-69536
rgw: RGWRados::get_olh() needs to use the correct attr Reviewed-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_rados.cc')
-rw-r--r--src/rgw/driver/rados/rgw_rados.cc2
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 69075c506f1..a183feabe2a 100644
--- a/src/rgw/driver/rados/rgw_rados.cc
+++ b/src/rgw/driver/rados/rgw_rados.cc
@@ -8951,7 +8951,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;
}