rgw: don't return error if can't find data sync status

In that case, the default sync status is the one that will be used.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2016-03-17 15:36:41 -07:00
parent f2fd39631a
commit 2b01f49e63

View File

@ -712,7 +712,7 @@ public:
int RGWReadSyncStatusCoroutine::handle_data(rgw_meta_sync_info& data)
{
if (retcode == -ENOENT) {
return retcode;
return 0;
}
RGWRados *store = sync_env->store;