> On April 19, 2018, 1:58 p.m., Qian Zhang wrote: > > src/slave/slave.cpp > > Lines 2543 (patched) > > <https://reviews.apache.org/r/66708/diff/1/?file=2005765#file2005765line2543> > > > > Nit: Switch the order of these two parameters since we use `message` > > before `reason` in the code below. > > > > And can we change `[=]` to `[&]`?
I fixed the '[&]', but I'd like to leave the parameter order as is. When you have a long message, this ordering makes the call site much easier to read. - James ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66708/#review201517 ----------------------------------------------------------- On April 18, 2018, 10:13 p.m., James Peach wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/66708/ > ----------------------------------------------------------- > > (Updated April 18, 2018, 10:13 p.m.) > > > Review request for mesos, Gilbert Song, Greg Mann, and Jie Yu. > > > Bugs: MESOS-8585 > https://issues.apache.org/jira/browse/MESOS-8585 > > > Repository: mesos > > > Description > ------- > > Refactored how the agent sends a TASK_DROPPED status update to > remove code duplication. This also makes the agent consistently > send the executor ID in all these status updates. > > > Diffs > ----- > > src/slave/slave.cpp e5d6c3fac5054a6b0a0b5b77abd850a35be6ccc5 > > > Diff: https://reviews.apache.org/r/66708/diff/1/ > > > Testing > ------- > > make check (Fedora 27) > > > Thanks, > > James Peach > >
