----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44260/#review121638 -----------------------------------------------------------
src/master/allocator/mesos/metrics.hpp (line 37) <https://reviews.apache.org/r/44260/#comment183385> You don't really need to call `.self()` here, there exists an `defer` override taking process instance. - Alexander Rukletsov On March 2, 2016, 10:35 a.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/44260/ > ----------------------------------------------------------- > > (Updated March 2, 2016, 10:35 a.m.) > > > Review request for mesos, Alexander Rukletsov and Ben Mahler. > > > Bugs: MESOS-4718 > https://issues.apache.org/jira/browse/MESOS-4718 > > > Repository: mesos > > > Description > ------- > > Moved metrics of the hierarchical allocator to its own file. > > > Diffs > ----- > > src/Makefile.am 5d8fe8bf33acb352589b2b3e0341987f9a41bc17 > src/master/allocator/mesos/hierarchical.hpp > 3043888630b066505410d3b32c5b3f813cc458c1 > src/master/allocator/mesos/hierarchical.cpp > 24fa50f62dec10ed43089297473cc386d6ba2f78 > src/master/allocator/mesos/metrics.hpp PRE-CREATION > > Diff: https://reviews.apache.org/r/44260/diff/ > > > Testing > ------- > > `make distcheck` on OS X, but this patch only adds an unused header. In the > follow-up patch #43879 we use the introduced class successfully. > > > Thanks, > > Benjamin Bannier > >