user_info.display_name = info.acct_name;
user_info.max_buckets = cct->_conf->rgw_user_max_buckets;
- rgw_apply_default_bucket_quota(user_info.bucket_quota, cct->_conf);
- rgw_apply_default_user_quota(user_info.user_quota, cct->_conf);
+ rgw_apply_default_bucket_quota(user_info.bucket_quota, *cct->_conf);
+ rgw_apply_default_user_quota(user_info.user_quota, *cct->_conf);
int ret = rgw_store_user_info(store, user_info, nullptr, nullptr,
real_time(), true);
if (op_state.has_bucket_quota()) {
user_info.bucket_quota = op_state.get_bucket_quota();
} else {
- rgw_apply_default_bucket_quota(user_info.bucket_quota, cct->_conf);
+ rgw_apply_default_bucket_quota(user_info.bucket_quota, *cct->_conf);
}
if (op_state.temp_url_key_specified) {
if (op_state.has_user_quota()) {
user_info.user_quota = op_state.get_user_quota();
} else {
- rgw_apply_default_user_quota(user_info.user_quota, cct->_conf);
+ rgw_apply_default_user_quota(user_info.user_quota, *cct->_conf);
}
// update the request