You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Chi Zhang <ch...@gmail.com> on 2014/06/17 20:01:31 UTC
Review Request 22686: Net: allow implicit conversion for IP.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/
-----------------------------------------------------------
Review request for mesos, Ian Downes and Jie Yu.
Repository: mesos-git
Description
-------
Allowing this means we don't have to create a temporary variable for
very simple purposes. For example, we might have an IP with prefix but
we want to have another one to output without prefix.
Diffs
-----
3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
Diff: https://reviews.apache.org/r/22686/diff/
Testing
-------
Thanks,
Chi Zhang
Re: Review Request 22686: Net: allow implicit conversion for IP.
Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/#review45993
-----------------------------------------------------------
After discussed with BenH, we agreed that this is pretty dangerous as a user can do:
net::IP ip = 4;
Let's revert this patch and be more explicit! Sorry about that!
- Jie Yu
On June 17, 2014, 7:30 p.m., Chi Zhang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22686/
> -----------------------------------------------------------
>
> (Updated June 17, 2014, 7:30 p.m.)
>
>
> Review request for mesos, Ian Downes and Jie Yu.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Allowing this means we don't have to create a temporary variable for
> very simple purposes. For example, we might have an IP with prefix but
> we want to have another one to output without prefix.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
>
> Diff: https://reviews.apache.org/r/22686/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Chi Zhang
>
>
Re: Review Request 22686: Net: allow implicit conversion for IP.
Posted by Jie Yu <yu...@gmail.com>.
> On June 17, 2014, 8:58 p.m., Jie Yu wrote:
> > Ship It!
Please resolve issue and close the review. I'll get this committed.
- Jie
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/#review45987
-----------------------------------------------------------
On June 17, 2014, 7:30 p.m., Chi Zhang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22686/
> -----------------------------------------------------------
>
> (Updated June 17, 2014, 7:30 p.m.)
>
>
> Review request for mesos, Ian Downes and Jie Yu.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Allowing this means we don't have to create a temporary variable for
> very simple purposes. For example, we might have an IP with prefix but
> we want to have another one to output without prefix.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
>
> Diff: https://reviews.apache.org/r/22686/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Chi Zhang
>
>
Re: Review Request 22686: Net: allow implicit conversion for IP.
Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/#review45987
-----------------------------------------------------------
Ship it!
Ship It!
- Jie Yu
On June 17, 2014, 7:30 p.m., Chi Zhang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22686/
> -----------------------------------------------------------
>
> (Updated June 17, 2014, 7:30 p.m.)
>
>
> Review request for mesos, Ian Downes and Jie Yu.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Allowing this means we don't have to create a temporary variable for
> very simple purposes. For example, we might have an IP with prefix but
> we want to have another one to output without prefix.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
>
> Diff: https://reviews.apache.org/r/22686/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Chi Zhang
>
>
Re: Review Request 22686: Net: allow implicit conversion for IP.
Posted by Chi Zhang <ch...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/
-----------------------------------------------------------
(Updated June 17, 2014, 7:30 p.m.)
Review request for mesos, Ian Downes and Jie Yu.
Changes
-------
addressed comments.
Repository: mesos-git
Description
-------
Allowing this means we don't have to create a temporary variable for
very simple purposes. For example, we might have an IP with prefix but
we want to have another one to output without prefix.
Diffs (updated)
-----
3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
Diff: https://reviews.apache.org/r/22686/diff/
Testing
-------
Thanks,
Chi Zhang
Re: Review Request 22686: Net: allow implicit conversion for IP.
Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/22686/#review45974
-----------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
<https://reviews.apache.org/r/22686/#comment81120>
Please follow our style in stout:
/*implicit*/ IP(...) ...
- Jie Yu
On June 17, 2014, 6:01 p.m., Chi Zhang wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/22686/
> -----------------------------------------------------------
>
> (Updated June 17, 2014, 6:01 p.m.)
>
>
> Review request for mesos, Ian Downes and Jie Yu.
>
>
> Repository: mesos-git
>
>
> Description
> -------
>
> Allowing this means we don't have to create a temporary variable for
> very simple purposes. For example, we might have an IP with prefix but
> we want to have another one to output without prefix.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp 97215af
>
> Diff: https://reviews.apache.org/r/22686/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Chi Zhang
>
>