]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_rest_user.cc
import 15.2.5
[ceph.git] / ceph / src / rgw / rgw_rest_user.cc
index 8e6984a7a165c4d81982f4fa36bc2da7a9282539..c777e0e813d1b20c7d0b2cb4be2ddbc5db013274 100644 (file)
@@ -125,7 +125,8 @@ void RGWOp_User_Create::execute()
   bool exclusive;
 
   int32_t max_buckets;
-  int32_t default_max_buckets = s->cct->_conf->rgw_user_max_buckets;
+  const int32_t default_max_buckets =
+    s->cct->_conf.get_val<int64_t>("rgw_user_max_buckets");
 
   RGWUserAdminOpState op_state;