You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2015/06/10 22:58:30 UTC
mesos git commit: Fixed some typos.
Repository: mesos
Updated Branches:
refs/heads/master 90610189c -> 584887b61
Fixed some typos.
Review: https://reviews.apache.org/r/35291
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/584887b6
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/584887b6
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/584887b6
Branch: refs/heads/master
Commit: 584887b6158b4a70aeaefd2b22499a7f4fa8bb7e
Parents: 9061018
Author: Aditi Dixit <ad...@gmail.com>
Authored: Wed Jun 10 13:58:14 2015 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Wed Jun 10 13:58:16 2015 -0700
----------------------------------------------------------------------
src/authentication/cram_md5/auxprop.cpp | 2 +-
src/cli/execute.cpp | 2 +-
src/common/resources.cpp | 2 +-
src/common/values.cpp | 2 +-
src/slave/slave.cpp | 2 +-
src/tests/resources_tests.cpp | 2 +-
src/tests/status_update_manager_tests.cpp | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/authentication/cram_md5/auxprop.cpp
----------------------------------------------------------------------
diff --git a/src/authentication/cram_md5/auxprop.cpp b/src/authentication/cram_md5/auxprop.cpp
index 4cabaa3..984ed90 100644
--- a/src/authentication/cram_md5/auxprop.cpp
+++ b/src/authentication/cram_md5/auxprop.cpp
@@ -84,7 +84,7 @@ int InMemoryAuxiliaryPropertyPlugin::initialize(
// We determine the properties we should be looking up by doing a
// 'prop_get' on the property context. Note that some of the
- // properties we get might might need to be skipped depending on the
+ // properties we get might need to be skipped depending on the
// flags (see below).
const propval* properties = utils->prop_get(sparams->propctx);
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/cli/execute.cpp
----------------------------------------------------------------------
diff --git a/src/cli/execute.cpp b/src/cli/execute.cpp
index b387b64..d070164 100644
--- a/src/cli/execute.cpp
+++ b/src/cli/execute.cpp
@@ -343,7 +343,7 @@ int main(int argc, char** argv)
// TODO(benh): If HDFS is not properly configured with
// 'fs.default.name' then we'll copy to the local
// filesystem. Currently this will silently fail on our end (i.e.,
- // the 'copyFromLocal' will be sucessful) but we'll fail to
+ // the 'copyFromLocal' will be successful) but we'll fail to
// download the URI when we launch the executor (unless it's
// already been uploaded before ...).
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/common/resources.cpp
----------------------------------------------------------------------
diff --git a/src/common/resources.cpp b/src/common/resources.cpp
index 01c79fb..c168bd8 100644
--- a/src/common/resources.cpp
+++ b/src/common/resources.cpp
@@ -184,7 +184,7 @@ static bool addable(const Resource& left, const Resource& right)
// Tests if we can subtract "right" from "left" resulting in one valid
// Resource object. For example, two Resource objects with different
// name, type or role are not subtractable.
-// NOTE: Set substraction is always well defined, it does not require
+// NOTE: Set subtraction is always well defined, it does not require
// 'right' to be contained within 'left'. For example, assuming that
// "left = {1, 2}" and "right = {2, 3}", "left" and "right" are
// subtractable because "left - right = {1}". However, "left" does not
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/common/values.cpp
----------------------------------------------------------------------
diff --git a/src/common/values.cpp b/src/common/values.cpp
index 597c452..2431d9e 100644
--- a/src/common/values.cpp
+++ b/src/common/values.cpp
@@ -248,7 +248,7 @@ static void remove(Value::Ranges* ranges, const Value::Range& range)
// Note that these if/else if conditionals are in a particular
// order. In particular, the last two assume that the "subsumes"
- // checks have already occured.
+ // checks have already occurred.
if (range.begin() <= current.begin() && range.end() >= current.end()) {
// Range subsumes current.
// current: | |
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 98036b2..bb9dd07 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -563,7 +563,7 @@ void Slave::finalize()
// can potentially remove a framework from 'frameworks'.
foreach (const FrameworkID& frameworkId, frameworks.keys()) {
// TODO(benh): Because a shut down isn't instantaneous (but has
- // a shut down/kill phases) we might not actually propogate all
+ // a shut down/kill phases) we might not actually propagate all
// the status updates appropriately here. Consider providing
// an alternative function which skips the shut down phase and
// simply does a kill (sending all status updates
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/tests/resources_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/resources_tests.cpp b/src/tests/resources_tests.cpp
index 4952e1b..b1e4483 100644
--- a/src/tests/resources_tests.cpp
+++ b/src/tests/resources_tests.cpp
@@ -174,7 +174,7 @@ TEST(ResourcesTest, Printing)
// TODO(benh): This test is a bit strict because it implies the
// ordering of things (e.g., the ordering of resources and the
// ordering of ranges). We should really just be checking for the
- // existance of certain substrings in the output.
+ // existence of certain substrings in the output.
EXPECT_EQ(output, oss.str());
}
http://git-wip-us.apache.org/repos/asf/mesos/blob/584887b6/src/tests/status_update_manager_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/status_update_manager_tests.cpp b/src/tests/status_update_manager_tests.cpp
index 36dab42..440b074 100644
--- a/src/tests/status_update_manager_tests.cpp
+++ b/src/tests/status_update_manager_tests.cpp
@@ -742,7 +742,7 @@ TEST_F(StatusUpdateManagerTest, DuplicateUpdateBeforeAck)
AWAIT_READY(__statusUpdate);
// After we advance the clock, the status update manager should
- // retry the TASK_RUNING update and the scheduler should receive
+ // retry the TASK_RUNNING update and the scheduler should receive
// and acknowledge it.
Future<TaskStatus> update;
EXPECT_CALL(sched, statusUpdate(_, _))