]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / rgw-bucket.service.ts
index 315c8b7560f1718f24091cc08e15b7bd86ec7bb7..7207d0b5ca72c88dd89102117239b6c0e1f27929 100644 (file)
@@ -43,6 +43,12 @@ export class RgwBucketService extends ApiClient {
     });
   }
 
+  getTotalBucketsAndUsersLength() {
+    return this.rgwDaemonService.request((params: HttpParams) => {
+      return this.http.get(`ui-${this.url}/buckets_and_users_count`, { params: params });
+    });
+  }
+
   create(
     bucket: string,
     uid: string,