Repository: mesos
Updated Branches:
  refs/heads/master f3295c089 -> db4c8a0e9


Fixed a typo in the comment of `Subsystem::watch`.

Review: https://reviews.apache.org/r/51293/


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

Branch: refs/heads/master
Commit: 3214584205f033cab894ac60aac7248328712c81
Parents: f3295c0
Author: haosdent huang <haosd...@gmail.com>
Authored: Wed Aug 24 09:32:20 2016 -0700
Committer: Jie Yu <yujie....@gmail.com>
Committed: Wed Aug 24 09:32:20 2016 -0700

----------------------------------------------------------------------
 src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/32145842/src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp 
b/src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp
index 6dca38c..6594110 100644
--- a/src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp
+++ b/src/slave/containerizer/mesos/isolators/cgroups/subsystem.hpp
@@ -96,7 +96,8 @@ public:
    * Watch the container and report if any resource constraint impacts it.
    *
    * @param containerId The target containerId.
-   * @return Nothing or an error if `recover` fails.
+   * @return The resource limitation that impacts the container or an
+   *     error if `watch` fails.
    */
   virtual process::Future<mesos::slave::ContainerLimitation> watch(
       const ContainerID& containerId);

Reply via email to