summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/configchecks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/cephadm/configchecks.py')
-rw-r--r--src/pybind/mgr/cephadm/configchecks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/cephadm/configchecks.py b/src/pybind/mgr/cephadm/configchecks.py
index b9dcb18f4..9077a1d66 100644
--- a/src/pybind/mgr/cephadm/configchecks.py
+++ b/src/pybind/mgr/cephadm/configchecks.py
@@ -674,7 +674,7 @@ class CephadmConfigChecks:
self.host_to_role[hostname] = list(self.mgr.cache.get_daemon_types(hostname))
def run_checks(self) -> None:
- checks_enabled = self.mgr.get_module_option('config_checks_enabled')
+ checks_enabled = self.mgr.config_checks_enabled
if checks_enabled is not True:
return