Repository: mesos Updated Branches: refs/heads/master 0a1a79adf -> f728d537c
Cleaned up a comment that was not accurate. The comment here most likely is referring to the semantics that occur at the single call site in the code base if this function returns an error. However, since the function itself is not the one responsible for doing what the comment says, I've removed the comment. Review: https://reviews.apache.org/r/51273/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f728d537 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f728d537 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f728d537 Branch: refs/heads/master Commit: f728d537c3598b8479bed8223068934937727594 Parents: 0a1a79a Author: Benjamin Hindman <b...@berkeley.edu> Authored: Wed Sep 14 11:04:31 2016 +0200 Committer: Joris Van Remoortere <joris.van.remoort...@gmail.com> Committed: Wed Sep 14 11:04:31 2016 +0200 ---------------------------------------------------------------------- src/linux/systemd.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f728d537/src/linux/systemd.hpp ---------------------------------------------------------------------- diff --git a/src/linux/systemd.hpp b/src/linux/systemd.hpp index 91134f1..5e2388a 100644 --- a/src/linux/systemd.hpp +++ b/src/linux/systemd.hpp @@ -46,8 +46,7 @@ static const char MESOS_EXECUTORS_SLICE[] = "mesos_executors.slice"; * of the child process into a the `MESOS_EXECUTORS_SLICE` in order to * extend its life beyond that of the agent. * - * @return Nothing if successful, otherwise Error. Note that returning Error - * implies the child process will be killed. + * @return Nothing if successful, otherwise Error. */ Try<Nothing> extendLifetime(pid_t child);