You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2013/08/12 21:20:02 UTC

[2/3] git commit: Fixed typos in scheduler.hpp and test_framework.py.

Fixed typos in scheduler.hpp and test_framework.py.

From: Yashwanth Nannapaneni <ya...@gmail.com>
Review: https://reviews.apache.org/r/13448


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

Branch: refs/heads/master
Commit: c3c573e7a75e2249d9e995497943fe759bddf675
Parents: 2b83a9a
Author: Benjamin Mahler <bm...@twitter.com>
Authored: Mon Aug 12 11:46:25 2013 -0700
Committer: Benjamin Mahler <bm...@twitter.com>
Committed: Mon Aug 12 11:46:25 2013 -0700

----------------------------------------------------------------------
 include/mesos/scheduler.hpp           | 2 +-
 src/examples/python/test_framework.py | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c3c573e7/include/mesos/scheduler.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/scheduler.hpp b/include/mesos/scheduler.hpp
index 1a7fcb9..cf3ecda 100644
--- a/include/mesos/scheduler.hpp
+++ b/include/mesos/scheduler.hpp
@@ -114,7 +114,7 @@ public:
    * whatever reason an offer is never rescinded (e.g., dropped
    * message, failing over framework, etc.), a framwork that attempts
    * to launch tasks using an invalid offer will receive TASK_LOST
-   * status updats for those tasks (see Scheduler::resourceOffers).
+   * status updates for those tasks (see Scheduler::resourceOffers).
    */
   virtual void offerRescinded(SchedulerDriver* driver,
                               const OfferID& offerId) = 0;

http://git-wip-us.apache.org/repos/asf/mesos/blob/c3c573e7/src/examples/python/test_framework.py
----------------------------------------------------------------------
diff --git a/src/examples/python/test_framework.py b/src/examples/python/test_framework.py
index 6372508..39dcb05 100755
--- a/src/examples/python/test_framework.py
+++ b/src/examples/python/test_framework.py
@@ -7,9 +7,9 @@
 # to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
-# 
+#
 #     http://www.apache.org/licenses/LICENSE-2.0
-# 
+#
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -95,7 +95,7 @@ class TestScheduler(mesos.Scheduler):
           slave_id,
           'data with a \0 byte')
 
-  def frameworkMessage(self, driver, executorId, salveId, message):
+  def frameworkMessage(self, driver, executorId, slaveId, message):
     self.messagesReceived += 1
 
     # The message bounced back as expected.