summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/services/cluster.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pybind/mgr/dashboard/services/cluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/dashboard/services/cluster.py b/src/pybind/mgr/dashboard/services/cluster.py
index 6cefd532ed8..f239471d8f3 100644
--- a/src/pybind/mgr/dashboard/services/cluster.py
+++ b/src/pybind/mgr/dashboard/services/cluster.py
@@ -63,6 +63,7 @@ class ClusterModel:
total_objects=total_objects,
total_pool_bytes_used=total_pool_bytes_used,
average_object_size=average_object_size)._asdict()
+
@classmethod
def get_rgw_pools(cls):
rgw_pool_names = []
@@ -71,4 +72,3 @@ class ClusterModel:
if 'rgw' in pool.get('application_metadata', {}):
rgw_pool_names.append(pool['pool_name'])
return rgw_pool_names
-