You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/04/20 23:32:03 UTC

[3/3] mesos git commit: Fixed typos in comments.

Fixed typos in comments.

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


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

Branch: refs/heads/master
Commit: e20677f3b5937a0b136c8a5ab0260a20890624b2
Parents: 6ce84cf
Author: Neil Conway <ne...@gmail.com>
Authored: Wed Apr 20 14:31:54 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Apr 20 14:31:54 2016 -0700

----------------------------------------------------------------------
 src/master/contender/zookeeper.cpp                      |  2 +-
 src/slave/containerizer/docker.hpp                      | 12 ++++++------
 .../mesos/provisioner/backends/overlay.cpp              |  2 +-
 src/slave/status_update_manager.cpp                     |  2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e20677f3/src/master/contender/zookeeper.cpp
----------------------------------------------------------------------
diff --git a/src/master/contender/zookeeper.cpp b/src/master/contender/zookeeper.cpp
index 61766ca..6c9305c 100644
--- a/src/master/contender/zookeeper.cpp
+++ b/src/master/contender/zookeeper.cpp
@@ -50,7 +50,7 @@ public:
   explicit ZooKeeperMasterContenderProcess(Owned<zookeeper::Group> group);
   virtual ~ZooKeeperMasterContenderProcess();
 
-  // Explicitely use 'initialize' since we're overloading below.
+  // Explicitly use 'initialize' since we're overloading below.
   using process::ProcessBase::initialize;
 
   void initialize(const MasterInfo& masterInfo);

http://git-wip-us.apache.org/repos/asf/mesos/blob/e20677f3/src/slave/containerizer/docker.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/docker.hpp b/src/slave/containerizer/docker.hpp
index 18c15a5..fac26a2 100644
--- a/src/slave/containerizer/docker.hpp
+++ b/src/slave/containerizer/docker.hpp
@@ -38,14 +38,14 @@ namespace slave {
 // created by Mesos from those created manually.
 extern const std::string DOCKER_NAME_PREFIX;
 
-// Seperator used to compose docker container name, which is made up
+// Separator used to compose docker container name, which is made up
 // of slave ID and container ID.
 extern const std::string DOCKER_NAME_SEPERATOR;
 
 // Directory that stores all the symlinked sandboxes that is mapped
 // into Docker containers. This is a relative directory that will
 // joined with the slave path. Only sandbox paths that contains a
-// colon will be symlinked due to the limiitation of the Docker CLI.
+// colon will be symlinked due to the limitation of the Docker CLI.
 extern const std::string DOCKER_SYMLINK_DIRECTORY;
 
 
@@ -397,7 +397,7 @@ private:
       return executor.container().docker().force_pull_image();
     }
 
-    // The DockerContainerier needs to be able to properly clean up
+    // The DockerContainerizer needs to be able to properly clean up
     // Docker containers, regardless of when they are destroyed. For
     // example, if a container gets destroyed while we are fetching,
     // we need to not keep running the fetch, nor should we try and
@@ -411,10 +411,10 @@ private:
     //     DESTROYING
     //
     // In particular, we made 'PULLING' be it's own state so that we
-    // could easily destroy and cleanup when a user initiated pulling
+    // can easily destroy and cleanup when a user initiated pulling
     // a really big image but we timeout due to the executor
-    // registration timeout. Since we curently have no way to discard
-    // a Docker::run, we needed to explicitely do the pull (which is
+    // registration timeout. Since we currently have no way to discard
+    // a Docker::run, we needed to explicitly do the pull (which is
     // the part that takes the longest) so that we can also explicitly
     // kill it when asked. Once the functions at Docker::* get support
     // for discarding, then we won't need to make pull be it's own

http://git-wip-us.apache.org/repos/asf/mesos/blob/e20677f3/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
index ebe1fc5..86abf28 100644
--- a/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
+++ b/src/slave/containerizer/mesos/provisioner/backends/overlay.cpp
@@ -153,7 +153,7 @@ Future<Nothing> OverlayBackendProcess::provision(
 
   // For overlayfs, the specified lower directories will be stacked
   // beginning from the rightmost one and going left. But we need the
-  // first layer in the vector to be the the bottom most layer.
+  // first layer in the vector to be the bottom most layer.
   string options = "lowerdir=" + strings::join(":", adaptor::reverse(layers));
   options += ",upperdir=" + upperdir;
   options += ",workdir=" + workdir;

http://git-wip-us.apache.org/repos/asf/mesos/blob/e20677f3/src/slave/status_update_manager.cpp
----------------------------------------------------------------------
diff --git a/src/slave/status_update_manager.cpp b/src/slave/status_update_manager.cpp
index d616fd4..f3b4767 100644
--- a/src/slave/status_update_manager.cpp
+++ b/src/slave/status_update_manager.cpp
@@ -70,7 +70,7 @@ public:
   StatusUpdateManagerProcess(const Flags& flags);
   virtual ~StatusUpdateManagerProcess();
 
-  // Explicitely use 'initialize' since we're overloading below.
+  // Explicitly use 'initialize' since we're overloading below.
   using process::ProcessBase::initialize;
 
   // StatusUpdateManager implementation.