> On June 17, 2015, 8:58 p.m., Jie Yu wrote: > > src/slave/containerizer/isolators/network/port_mapping.cpp, line 703 > > <https://reviews.apache.org/r/35229/diff/5/?file=986593#file986593line703> > > > > Please use > > ``` > > statistics[BACKLOG]; > > ```
Since statistics is const, we need to use statistics.at(BACKLOG) etc. - Paul ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35229/#review88275 ----------------------------------------------------------- On June 17, 2015, 10:58 p.m., Paul Brett wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35229/ > ----------------------------------------------------------- > > (Updated June 17, 2015, 10:58 p.m.) > > > Review request for mesos, Chi Zhang, Ian Downes, Jie Yu, and Cong Wang. > > > Bugs: MESOS-2836 > https://issues.apache.org/jira/browse/MESOS-2836 > > > Repository: mesos > > > Description > ------- > > Report per-container metrics for network bandwidth throttling to the slave. > > > Diffs > ----- > > src/slave/containerizer/isolators/network/port_mapping.hpp > 2a988b3b3a46aafa6e7f000d8741d01b546bca46 > src/slave/containerizer/isolators/network/port_mapping.cpp > f97e9608ebe1e72c83c22edb02600fd782db3bca > src/tests/port_mapping_tests.cpp 835a0f200dd5452adb3e553367ebde67414276f3 > > Diff: https://reviews.apache.org/r/35229/diff/ > > > Testing > ------- > > sudo make check > > > Thanks, > > Paul Brett > >
