rgw-admin: fix data sync report for master zone

Signed-off-by: cfanz <songxinying@sensetime.com>
This commit is contained in:
cfanz 2018-09-05 10:57:35 +08:00
parent c4731ec64e
commit 6e3be2461b

View File

@ -651,10 +651,6 @@ int RGWRemoteDataLog::read_source_log_shards_info(map<int, RGWDataChangesLogInfo
int RGWRemoteDataLog::read_source_log_shards_next(map<int, string> shard_markers, map<int, rgw_datalog_shard_data> *result)
{
if (store->is_meta_master()) {
return 0;
}
return run(new RGWListRemoteDataLogCR(&sync_env, shard_markers, 1, result));
}