| 34 | using mesos::slave::ResourceEstimator; |
| 35 | |
| 36 | static ResourceEstimator* createResourceEstimator(const Parameters& parameters) |
| 37 | { |
| 38 | Try<ResourceEstimator*> result = |
| 39 | NoopResourceEstimator::create(None()); |
| 40 | if (result.isError()) { |
| 41 | return nullptr; |
| 42 | } |
| 43 | return result.get(); |
| 44 | } |
| 45 | |
| 46 | |
| 47 | // Declares a TestResourceEstimator module named |