----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/64158/ -----------------------------------------------------------
Review request for mesos, Benjamin Bannier and Jie Yu. Repository: mesos Description ------- Depeding on the type of an offer operation, different resource need to be extracted from an operation. Instead of using a switch, the helper functions 'isSpeculativeOperation' and 'getConsumedResources' are used instead. Diffs ----- src/master/master.hpp 2a2e830354db4a2191fb8321beb8174b80f7ba7d src/master/master.cpp 700e12433b0b66efc3f5dd296711c0f203a13144 src/slave/slave.cpp e1566832f90cca372ad2f1cc13d1e7f76fa53285 Diff: https://reviews.apache.org/r/64158/diff/1/ Testing ------- make check Thanks, Jan Schlicht