From b24be6f0746ce9d68433e94deee34cb5bc099c73 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Thu, 13 Dec 2018 14:32:44 +0000 Subject: [PATCH] mgr: make module error message more descriptive It was weird just seeing that there were 'modules' with errors; users could be confused as to who own's those modules. Causually mentioning 'ceph-mgr' in the message should clarify. Signed-off-by: Joao Eduardo Luis --- src/mgr/PyModuleRegistry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/PyModuleRegistry.cc b/src/mgr/PyModuleRegistry.cc index d7cea7fdded..5446e06681f 100644 --- a/src/mgr/PyModuleRegistry.cc +++ b/src/mgr/PyModuleRegistry.cc @@ -391,7 +391,7 @@ void PyModuleRegistry::get_health_checks(health_check_map_t *checks) ss << "Module '" << iter->first << "' has failed dependency: " << iter->second; } else if (dependency_modules.size() > 1) { - ss << dependency_modules.size() << " modules have failed dependencies"; + ss << dependency_modules.size() << " ceph-mgr modules have failed dependencies"; } checks->add("MGR_MODULE_DEPENDENCY", HEALTH_WARN, ss.str()); } -- 2.39.5