MCPcopy Create free account
hub / github.com/apache/mesos / approved

Method approved

src/tests/master_authorization_tests.cpp:2644–2648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2642 void disable() { permissive.store(false); }
2643
2644 Try<bool> approved(
2645 const Option<ObjectApprover::Object>&) const noexcept override
2646 {
2647 return permissive.load();
2648 }
2649
2650private:
2651 std::atomic_bool permissive;

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected