> On Aug. 26, 2016, 7:10 p.m., Jie Yu wrote:
> > src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/main.cpp,
> >  lines 43-46
> > <https://reviews.apache.org/r/51096/diff/4/?file=1486414#file1486414line43>
> >
> >     Any reason you want to initialize the error here, instead of below 
> > where you set the error message?
> 
> Avinash sridharan wrote:
>     There were multiple places were we were return the error, and the version 
> and error codes are fixed, for these errors (at least within the main). 
> Hence, was initializing it once. Don't mind initializing it where we actually 
> need it.

Yeah, we might want to pull into a helper function that takes a string message 
if that's the case later.


- Jie


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


On Aug. 26, 2016, 7:49 p.m., Avinash sridharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51096/
> -----------------------------------------------------------
> 
> (Updated Aug. 26, 2016, 7:49 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Qian Zhang.
> 
> 
> Bugs: MESOS-6023
>     https://issues.apache.org/jira/browse/MESOS-6023
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The `mesos-cni-port-mapper` is a CNI plugin that can be used to install
> port-forwarding rules for a container. The `mesos-cni-port-mapper` is a
> wrapper CNI plugin that should always be used in conjunction with
> other CNI plugins.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 120a715eeeb7fb222d1169500950b5c7643df554 
>   
> src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/main.cpp
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/51096/diff/
> 
> 
> Testing
> -------
> 
> make
> 
> 
> Thanks,
> 
> Avinash sridharan
> 
>

Reply via email to