You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2016/10/20 21:47:49 UTC

[2/2] mesos git commit: Revert "Removed the expired TODO about non-recursive version `cgroups::get`."

Revert "Removed the expired TODO about non-recursive version `cgroups::get`."

This reverts commit 4c25f17d87a098a4eb0815156447730cc6111942.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e14c9f7e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e14c9f7e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e14c9f7e

Branch: refs/heads/master
Commit: e14c9f7e55f3c9851c11d75149be22bc1967516d
Parents: 70e20af
Author: Jiang Yan Xu <xu...@apple.com>
Authored: Thu Oct 20 14:07:34 2016 -0700
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Thu Oct 20 14:07:34 2016 -0700

----------------------------------------------------------------------
 src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e14c9f7e/src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp b/src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp
index 03c7935..2f6723c 100644
--- a/src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp
+++ b/src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp
@@ -212,6 +212,7 @@ Future<Nothing> CgroupsIsolatorProcess::_recover(
   hashset<ContainerID> unknownOrphans;
 
   foreach (const string& hierarchy, subsystems.keys()) {
+    // TODO(jieyu): Use non-recursive version of `cgroups::get`.
     Try<vector<string>> cgroups = cgroups::get(
         hierarchy,
         flags.cgroups_root);