if (op_state.max_buckets_specified) {
user_info.max_buckets = op_state.get_max_buckets();
} else {
- user_info.max_buckets = cct->_conf->rgw_user_max_buckets;
+ user_info.max_buckets =
+ cct->_conf.get_val<int64_t>("rgw_user_max_buckets");
}
user_info.suspended = op_state.get_suspension_status();