You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ga...@apache.org on 2018/09/21 22:55:26 UTC
[mesos] branch master updated: Fixed couple of typos in the
allocator.
This is an automated email from the ASF dual-hosted git repository.
gaston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 3eec390 Fixed couple of typos in the allocator.
3eec390 is described below
commit 3eec39029379abe470ef43b87eca5667053f982b
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Fri Sep 21 15:54:06 2018 -0700
Fixed couple of typos in the allocator.
Review: https://reviews.apache.org/r/68122/
---
src/master/allocator/mesos/hierarchical.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/master/allocator/mesos/hierarchical.cpp b/src/master/allocator/mesos/hierarchical.cpp
index 0b13d04..906fddc 100644
--- a/src/master/allocator/mesos/hierarchical.cpp
+++ b/src/master/allocator/mesos/hierarchical.cpp
@@ -952,7 +952,7 @@ void HierarchicalAllocatorProcess::updateAllocation(
const Resources updatedFrameworkAllocation =
frameworkSorter->allocation(frameworkId.value(), slaveId);
- // Check that the changed quantities af the framework's allocation is exactly
+ // Check that the changed quantities of the framework's allocation is exactly
// the same as the resources removed by the resource conversions.
//
// TODO(chhsiao): Revisit this constraint if we want to support other type of
@@ -2010,7 +2010,7 @@ void HierarchicalAllocatorProcess::__allocate()
// Similar to the first stage, we will allocate resources while ensuring
// that the required unreserved non-revocable headroom is still available
- // for unsastified quota guarantees. Otherwise, we will not be able to
+ // for unsatisfied quota guarantees. Otherwise, we will not be able to
// satisfy quota guarantees later. Reservations to non-quota roles and
// revocable resources will always be included in the offers since these
// are not part of the headroom (and therefore can't be used to satisfy