You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2014/11/25 00:55:54 UTC
mesos git commit: Fixed typos in comments for example module
implementation.
Repository: mesos
Updated Branches:
refs/heads/master 4ee8740fe -> 01b8b7651
Fixed typos in comments for example module implementation.
Review: https://reviews.apache.org/r/28420
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/01b8b765
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/01b8b765
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/01b8b765
Branch: refs/heads/master
Commit: 01b8b765100572a1b3b2f1bb8e6f3523c5f778db
Parents: 4ee8740
Author: Kapil Arya <ka...@mesosphere.io>
Authored: Mon Nov 24 15:55:05 2014 -0800
Committer: Timothy Chen <tn...@apache.org>
Committed: Mon Nov 24 15:55:05 2014 -0800
----------------------------------------------------------------------
docs/modules.md | 3 ++-
src/examples/example_module_impl.cpp | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/01b8b765/docs/modules.md
----------------------------------------------------------------------
diff --git a/docs/modules.md b/docs/modules.md
index 474e2df..c674767 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -162,7 +162,8 @@ The following snippet describes the implementation of a module named
return true;
}
- // Declares a module named 'example' of 'TestModule' kind.
+ // Declares a module named 'org_apache_mesos_TestModule' of
+ // 'TestModule' kind.
// Mesos core binds the module instance pointer as needed.
// The compatible() hook is provided by the module for compatibility checks.
// The create() hook returns an object of type 'TestModule'.
http://git-wip-us.apache.org/repos/asf/mesos/blob/01b8b765/src/examples/example_module_impl.cpp
----------------------------------------------------------------------
diff --git a/src/examples/example_module_impl.cpp b/src/examples/example_module_impl.cpp
index 1e28221..db015ce 100644
--- a/src/examples/example_module_impl.cpp
+++ b/src/examples/example_module_impl.cpp
@@ -98,7 +98,8 @@ static TestModule* create(const mesos::Parameters& parameters)
}
-// Declares a module named 'example' of 'TestModule' kind.
+// Declares a module named 'org_apache_mesos_TestModule' of
+// 'TestModule' kind.
// compatible() hook is provided by the module for compatibility
// checks.
// create() hook returns an object of type 'TestModule'.