You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ne...@apache.org on 2017/05/19 23:21:45 UTC
mesos git commit: Fixed typos.
Repository: mesos
Updated Branches:
refs/heads/master 0edb2ee96 -> 8245981b8
Fixed typos.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8245981b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8245981b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8245981b
Branch: refs/heads/master
Commit: 8245981b889ec3725cc0be4150b15d1fe9d64b86
Parents: 0edb2ee
Author: Neil Conway <ne...@gmail.com>
Authored: Fri May 19 16:21:32 2017 -0700
Committer: Neil Conway <ne...@gmail.com>
Committed: Fri May 19 16:21:32 2017 -0700
----------------------------------------------------------------------
src/slave/containerizer/mesos/launch.cpp | 6 +++---
src/slave/main.cpp | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/8245981b/src/slave/containerizer/mesos/launch.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/launch.cpp b/src/slave/containerizer/mesos/launch.cpp
index 2835bef..f48d294 100644
--- a/src/slave/containerizer/mesos/launch.cpp
+++ b/src/slave/containerizer/mesos/launch.cpp
@@ -148,7 +148,7 @@ static void signalSafeWriteStatus(int status)
// enable this forwarding.
static void signalHandler(int sig)
{
- // If we dn't yet have a container pid, we treat
+ // If we don't yet have a container pid, we treat
// receiving a signal like a failure and exit.
if (containerPid.isNone()) {
exitWithSignal(sig);
@@ -185,7 +185,7 @@ static Try<Nothing> installSignalHandlers()
// available on a system. However, Darwin, Linux, and BSD differ
// on their interpretation of of the value of NSIG. Linux, for
// example, sets it to 65, where Darwin sets it to 32. The reason
- // for the discrepency is that Linux includes the real-time
+ // for the discrepancy is that Linux includes the real-time
// signals in this count, where Darwin does not. However, even on
// linux, we are not able to arbitrarily install signal handlers
// for all the real-time signals -- they must have not been
@@ -698,7 +698,7 @@ int MesosContainerizerLaunch::execute()
// If we have `containerStatusFd` set, then we need to fork-exec the
// command we are launching and checkpoint its status on exit. We
// use fork-exec directly (as opposed to `process::subprocess()`) to
- // avoid intializing libprocess for this simple helper binary.
+ // avoid initializing libprocess for this simple helper binary.
//
// TODO(klueska): Once we move the majority of `process::subprocess()`
// into stout, update the code below to use it.
http://git-wip-us.apache.org/repos/asf/mesos/blob/8245981b/src/slave/main.cpp
----------------------------------------------------------------------
diff --git a/src/slave/main.cpp b/src/slave/main.cpp
index 507d599..cc83327 100644
--- a/src/slave/main.cpp
+++ b/src/slave/main.cpp
@@ -429,7 +429,7 @@ int main(int argc, char** argv)
#ifdef __linux__
// Initialize systemd if it exists.
if (flags.systemd_enable_support && systemd::exists()) {
- LOG(INFO) << "Inializing systemd state";
+ LOG(INFO) << "Initializing systemd state";
systemd::Flags systemdFlags;
systemdFlags.enabled = flags.systemd_enable_support;