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

Method fail

src/mgr/PyModule.h:155–160  ·  view source on GitHub ↗

* Mark the module as failed, recording the reason in the error * string. */

Source from the content-addressed store, hash-verified

153 * string.
154 */
155 void fail(const std::string &reason)
156 {
157 std::lock_guard l(lock);
158 failed = true;
159 error_string = reason;
160 }
161
162 bool is_enabled() const {
163 std::lock_guard l(lock);

Callers 1

serveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected