Merge pull request #12444 from oritwas/wip-rgw-fix-secondary_versioning

rgw: complete versioning enablement after sending it to meta master

Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Yehuda Sadeh 2017-01-26 10:49:41 -08:00 committed by GitHub
commit 10a7ff0a75

View File

@ -1748,8 +1748,8 @@ void RGWSetBucketVersioning::execute()
op_ret = forward_request_to_master(s, NULL, store, in_data, nullptr);
if (op_ret < 0) {
ldout(s->cct, 20) << __func__ << "forward_request_to_master returned ret=" << op_ret << dendl;
return;
}
return;
}
if (enable_versioning) {