----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28155/#review62191 -----------------------------------------------------------
src/common/http.cpp <https://reviews.apache.org/r/28155/#comment104200> I'm curious, was JSON::Protobuf not sufficient here? ``` JSON::Array labels; foreach (const Label& label, task.labels()) { labels.values.push_back(JSON::Protobuf(label)); } object.values["labels"] = labels; ``` Ditto below. - Ben Mahler On Nov. 19, 2014, 12:07 a.m., Niklas Nielsen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28155/ > ----------------------------------------------------------- > > (Updated Nov. 19, 2014, 12:07 a.m.) > > > Review request for mesos and Timothy Chen. > > > Bugs: MESOS-2120 > https://issues.apache.org/jira/browse/MESOS-2120 > > > Repository: mesos-git > > > Description > ------- > > See description. > > > Diffs > ----- > > src/common/http.cpp 58050e9534045ec3e8b74dd0214b1b12d5ff8ea7 > > Diff: https://reviews.apache.org/r/28155/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Niklas Nielsen > >
