MCPcopy Create free account
hub / github.com/apache/mesos / operator()

Method operator()

src/tests/api_tests.cpp:2686–2693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2684 TaskID taskId;
2685 using result_type = bool;
2686 bool operator() (const v1::master::Event::TaskUpdated& event) const {
2687 const v1::TaskStatus& status = event.status();
2688 return status.task_id() == evolve(taskId) &&
2689 status.state() == v1::TASK_RUNNING &&
2690 status.reason() ==
2691 v1::TaskStatus::REASON_TASK_HEALTH_CHECK_STATUS_UPDATED &&
2692 !status.healthy();
2693 };
2694};
2695
2696

Callers

nothing calls this directly

Calls 3

evolveFunction · 0.50
statusMethod · 0.45
stateMethod · 0.45

Tested by

no test coverage detected