]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_user.cc
update sources to 12.2.7
[ceph.git] / ceph / src / rgw / rgw_user.cc
index 7fe88421805f13b5f1e08b1dd7d8365f2d6ceb01..ae8fe1fff22bc8f6ce22973583a33cedf29d2a80 100644 (file)
@@ -2376,7 +2376,7 @@ int RGWUserAdminOp_User::info(RGWRados *store, RGWUserAdminOpState& op_state,
   RGWStorageStats *arg_stats = NULL;
   if (op_state.fetch_stats) {
     int ret = store->get_user_stats(info.user_id, stats);
-    if (ret < 0) {
+    if (ret < 0 && ret != -ENOENT) {
       return ret;
     }