You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2018/07/01 22:58:21 UTC
mesos git commit: Fixed minor comment issues in module manager.hpp.
Repository: mesos
Updated Branches:
refs/heads/master 397633c83 -> 0da49ee9b
Fixed minor comment issues in module manager.hpp.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0da49ee9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0da49ee9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0da49ee9
Branch: refs/heads/master
Commit: 0da49ee9bf628ac663363f568175a7c98263baab
Parents: 397633c
Author: Till Toenshoff <to...@me.com>
Authored: Mon Jul 2 00:22:34 2018 +0200
Committer: Till Toenshoff <to...@me.com>
Committed: Mon Jul 2 00:22:34 2018 +0200
----------------------------------------------------------------------
src/module/manager.hpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/0da49ee9/src/module/manager.hpp
----------------------------------------------------------------------
diff --git a/src/module/manager.hpp b/src/module/manager.hpp
index f38f587..3407342 100644
--- a/src/module/manager.hpp
+++ b/src/module/manager.hpp
@@ -125,7 +125,7 @@ public:
// std::vector<std::string> modules = ModuleManager::find<Hook>();
//
// Will return all of the module names for modules that implement
- // the Isolator interface.
+ // the `Hook` interface.
template <typename T>
static std::vector<std::string> find()
{
@@ -143,7 +143,7 @@ public:
}
// Exposed just for testing so that we can unload a given
- // module and remove it from the list of ModuleBases.
+ // module and remove it from the list of `ModuleBase`.
static Try<Nothing> unload(const std::string& moduleName);
private:
@@ -167,9 +167,9 @@ private:
static hashmap<std::string, std::string> kindToVersion;
- // Mapping from "module name" to the actual ModuleBase. If two
+ // Mapping from module name to the actual `ModuleBase`. If two
// modules from different libraries have the same name then the last
- // one specified in the protobuf Modules will be picked.
+ // one specified in the protobuf `Modules` will be picked.
static hashmap<std::string, ModuleBase*> moduleBases;
// Module-specific command-line parameters.