-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65127/
-----------------------------------------------------------
(Updated Feb. 8, 2018, 5:51 p.m.)
Review request for mesos, Alexander Rukletsov and Andrew Schwartzmeyer.
Changes
-------
rebased and responded to feedback.
Bugs: MESOS-8498
https://issues.apache.org/jira/browse/MESOS-8498
Repository: mesos
Description
-------
The network health checks called curl and then executed setns to
enter to container network namespace, which did not work on Windows.
To do the equivalent, Windows nows calls docker run with powershell's
curl equivalent (Invoke-WebRequest) and uses the
network=container:<ID> flag to enter the container's namespace. The
command health check was trivially fixed by replacing the hardcoded
`sh -c`.
Diffs (updated)
-----
src/checks/checker_process.hpp 510f3b2e6e689faaf26595214ce377c2b5518f28
src/checks/checker_process.cpp ddb197b8cc2c503fef5ae20af32f5881fff9833f
Diff: https://reviews.apache.org/r/65127/diff/7/
Changes: https://reviews.apache.org/r/65127/diff/6-7/
Testing
-------
Thanks,
Akash Gupta