You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Michael Park <mc...@gmail.com> on 2015/01/09 02:31:42 UTC

Review Request 29741: Simplify returning error logic in master.

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

Review request for mesos, Benjamin Hindman, Ben Mahler, and Jie Yu.


Repository: mesos-git


Description
-------

Unnecessary test followed by reconstructing the Error object, etc. `error` is already exactly what we want to `return`.


Diffs
-----

  src/master/master.cpp 63ca19ab9618feccd93a2335f9287122a4665c5e 

Diff: https://reviews.apache.org/r/29741/diff/


Testing
-------

make check


Thanks,

Michael Park


Re: Review Request 29741: Simplify returning error logic in master.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29741/#review67947
-----------------------------------------------------------


Patch looks great!

Reviews applied: [29741]

All tests passed.

- Mesos ReviewBot


On Jan. 13, 2015, 7:02 p.m., Michael Park wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29741/
> -----------------------------------------------------------
> 
> (Updated Jan. 13, 2015, 7:02 p.m.)
> 
> 
> Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, and Vinod Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Unnecessary test followed by reconstructing the Error object, etc. `error` is already exactly what we want to `return`.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp 63ca19ab9618feccd93a2335f9287122a4665c5e 
> 
> Diff: https://reviews.apache.org/r/29741/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Michael Park
> 
>


Re: Review Request 29741: Simplify returning error logic in master.

Posted by Michael Park <mc...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29741/
-----------------------------------------------------------

(Updated Jan. 13, 2015, 7:02 p.m.)


Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, and Vinod Kone.


Changes
-------

Doesn't actually depend on nor blocks anything


Repository: mesos-git


Description
-------

Unnecessary test followed by reconstructing the Error object, etc. `error` is already exactly what we want to `return`.


Diffs
-----

  src/master/master.cpp 63ca19ab9618feccd93a2335f9287122a4665c5e 

Diff: https://reviews.apache.org/r/29741/diff/


Testing
-------

make check


Thanks,

Michael Park


Re: Review Request 29741: Simplify returning error logic in master.

Posted by Michael Park <mc...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29741/
-----------------------------------------------------------

(Updated Jan. 9, 2015, 1:53 a.m.)


Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, and Vinod Kone.


Repository: mesos-git


Description
-------

Unnecessary test followed by reconstructing the Error object, etc. `error` is already exactly what we want to `return`.


Diffs
-----

  src/master/master.cpp 63ca19ab9618feccd93a2335f9287122a4665c5e 

Diff: https://reviews.apache.org/r/29741/diff/


Testing
-------

make check


Thanks,

Michael Park


Re: Review Request 29741: Simplify returning error logic in master.

Posted by Michael Park <mc...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29741/
-----------------------------------------------------------

(Updated Jan. 9, 2015, 1:49 a.m.)


Review request for mesos, Benjamin Hindman, Ben Mahler, and Jie Yu.


Repository: mesos-git


Description
-------

Unnecessary test followed by reconstructing the Error object, etc. `error` is already exactly what we want to `return`.


Diffs
-----

  src/master/master.cpp 63ca19ab9618feccd93a2335f9287122a4665c5e 

Diff: https://reviews.apache.org/r/29741/diff/


Testing
-------

make check


Thanks,

Michael Park