diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2025-01-17 15:30:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 15:30:07 +0100 |
commit | 34882a4048cbcc6cdf9e33c1650872980b2f71e0 (patch) | |
tree | 163941d6d7ec9e7a74cffb24ab9ce81ff476eec5 | |
parent | Merge pull request #61285 from cbodley/wip-69462 (diff) | |
parent | rgw: RGWRados::get_olh() needs to use the correct attr (diff) | |
download | ceph-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>
-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 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; } |