From: Soumya Koduri Date: Mon, 20 Mar 2023 12:15:33 +0000 (+0530) Subject: rgw/archive: Correct the bucket sync status cmd output X-Git-Tag: v19.0.0~1283^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d7af6c228253d05a16dd3be993f150518f1b6f66;p=ceph-ci.git rgw/archive: Correct the bucket sync status cmd output Signed-off-by: Soumya Koduri --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index f8a68fa0d30..228e165647f 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -2509,7 +2509,7 @@ static int bucket_source_sync_status(const DoutPrefixProvider *dpp, rgw::sal::Ra out << indented{width, "source zone"} << source.id << " (" << source.name << ")" << std::endl; // syncing from this zone? - if (!zone.syncs_from(source.name)) { + if (!driver->svc()->zone->zone_syncs_from(zone, source)) { out << indented{width} << "does not sync from zone\n"; return 0; }