MCPcopy Create free account
hub / github.com/ceph/ceph / module_enabled

Method module_enabled

src/mon/MgrMap.h:163–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 bool can_run_module(const std::string &module_name, std::string *error) const;
162
163 bool module_enabled(const std::string& module_name) const
164 {
165 return modules.find(module_name) != modules.end();
166 }
167
168 bool any_supports_module(const std::string& module) const {
169 if (have_module(module)) {

Callers 2

tickMethod · 0.80
prepare_commandMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected