]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: fix regression in radoslist with SLO manifests
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 18 Mar 2025 18:31:05 +0000 (14:31 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 20 Mar 2025 01:59:48 +0000 (21:59 -0400)
A regression was inadvertently introduced in commit
bcd7883d7212c96ebfb89c938c79fc7efbb80d2f that then prevented
`radosgw-admin bucket radoslist ...` from working properly with
buckets using SLO manifests. This corrects that regression.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/radosgw-admin/orphan.cc

index 6f2f5371bdfcbf6a3bf2855051ba8377599cc54c..7808bf8ea61d31546f7ec0fd956245c13f4dac65 100644 (file)
@@ -992,7 +992,7 @@ int RGWRadosList::handle_stat_result(const DoutPrefixProvider *dpp,
     ldpp_dout(dpp, 25) << "radoslist DLO oid=\"" << oid <<
       "\" added bucket=\"" << bucket_name << "\" prefix=\"" <<
       prefix << "\" to process list" << dendl;
-  } else if ((attr_it = result.attrs.find(RGW_ATTR_USER_MANIFEST)) !=
+  } else if ((attr_it = result.attrs.find(RGW_ATTR_SLO_MANIFEST)) !=
             result.attrs.end()) {
     // *** handle SLO object ***