> On Feb. 4, 2015, 9:38 p.m., Ben Mahler wrote:
> > Just curious, what did you need this stuff for? Inferring operations, or?

It came in handy when writing the `validate` functions for `RESERVE` and 
`UNRESERVE` in https://reviews.apache.org/r/30361/.
They also work great as the predicates to the generic filter mechanism for 
Resources I introduced in https://reviews.apache.org/r/29736/.


- Michael


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29742/#review71044
-----------------------------------------------------------


On Feb. 5, 2015, 12:55 a.m., Michael Park wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29742/
> -----------------------------------------------------------
> 
> (Updated Feb. 5, 2015, 12:55 a.m.)
> 
> 
> Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, and 
> Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> A few boolean functions to test the state of the `Resource` object.
> 
> 
> Diffs
> -----
> 
>   include/mesos/resources.hpp 3b57568c10233a0c692787de6464f21af5eaadf4 
>   src/common/resources.cpp 308b8860fec3db5bfab3925423afda037bfbc4e7 
> 
> Diff: https://reviews.apache.org/r/29742/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Michael Park
> 
>

Reply via email to