> On June 13, 2017, 6:03 p.m., Benjamin Mahler wrote: > > src/common/resources.cpp > > Lines 1368 (patched) > > <https://reviews.apache.org/r/60020/diff/2/?file=1749638#file1749638line1368> > > > > Is this hard to do? Any reason it was left out?
Was just left out temporarily. Just called `Resources::validate` for now. - Michael ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60020/#review177849 ----------------------------------------------------------- On June 15, 2017, 12:40 a.m., Michael Park wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60020/ > ----------------------------------------------------------- > > (Updated June 15, 2017, 12:40 a.m.) > > > Review request for mesos and Benjamin Mahler. > > > Bugs: MESOS-7655 > https://issues.apache.org/jira/browse/MESOS-7655 > > > Repository: mesos > > > Description > ------- > > This patches introduces utilities `toUnreserved`, `pushReservation` and > `popReservation`. They are intended to replace the current `flatten`. > We'll switch over to use them once the 'post-reservation-refinement' > format is used for `Resources`. > > > Diffs > ----- > > include/mesos/resources.hpp 2b55847be79c7930b598ef31c932e8aca0fa73db > include/mesos/v1/resources.hpp 7c6e8569b990ad34fd6c449b31140f844dae222f > src/common/resources.cpp 7b3fae1a34150964ba3831a3aef2f868e338aef8 > src/v1/resources.cpp 236fe17730918479a33314e51d14f3cc1679d432 > > > Diff: https://reviews.apache.org/r/60020/diff/4/ > > > Testing > ------- > > > Thanks, > > Michael Park > >
