> On Nov. 9, 2016, 9:38 p.m., Jie Yu wrote:
> > src/slave/containerizer/mesos/provisioner/backends/copy.cpp, lines 269-272
> > <https://reviews.apache.org/r/53623/diff/1/?file=1559688#file1559688line269>
> >
> >     I'd move this to `provision` and bail out early (before mkdir)

Even if we bail out in `::provision`, we still need this chunk (`#ifndef` and 
`#else`) for the method to have a `return` statement.

Alternatively, I'd need to add #ifdef's in the copy backend's header too.


- Joseph


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


On Nov. 9, 2016, 4:38 p.m., Joseph Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/53623/
> -----------------------------------------------------------
> 
> (Updated Nov. 9, 2016, 4:38 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Qian Zhang.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The provisioner's `copy` backend has never been supported on Windows,
> but we have included it in the build to reduce the number of `#ifdef`s
> needed to compile the agent.  If the user attempts to specify a rootfs
> on Windows, it will still fail in the containerizer's validation logic.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/backends/copy.cpp 
> 7e98110af9d105c803518a29cd2e74b7464fcb1e 
> 
> Diff: https://reviews.apache.org/r/53623/diff/
> 
> 
> Testing
> -------
> 
> make check (CentOS 7)
> msbuild ... (Windows 10)
> 
> 
> Thanks,
> 
> Joseph Wu
> 
>

Reply via email to