This commit is contained in:
Marius Schiffer
2022-03-26 11:22:42 +00:00
commit 49cf12279c
30 changed files with 1961 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
--- a/src/pybind/mgr/dashboard/controllers/health.py 2020-11-17 19:12:53.000000000 +0100
+++ b/src/pybind/mgr/dashboard/controllers/health.py 2020-11-22 22:13:44.115751086 +0100
@@ -11,10 +11,14 @@
from ..services.ceph_service import CephService
from ..services.iscsi_cli import IscsiGatewaysConfig
from ..services.iscsi_client import IscsiClient
-from ..tools import partial_dict
+#from ..tools import partial_dict
from .host import get_hosts
+def partial_dict(orig, keys):
+ return {k: orig[k] for k in keys}
+
+
class HealthData(object):
"""
A class to be used in combination with BaseController to allow either