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

Method all_support_module

src/mon/MgrMap.cc:258–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258bool MgrMap::all_support_module(const std::string& module) {
259 if (!have_module(module)) {
260 return false;
261 }
262 for (auto& p : standbys) {
263 if (!p.second.have_module(module)) {
264 return false;
265 }
266 }
267 return true;
268}
269
270bool MgrMap::have_module(const std::string &module_name) const
271{

Callers 1

prepare_commandMethod · 0.80

Calls 1

have_moduleMethod · 0.80

Tested by

no test coverage detected