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 2017/12/21 03:11:04 UTC
mesos git commit: Fixed a few comment typos in `hierarchical.cpp`.
Repository: mesos
Updated Branches:
refs/heads/master b386fe110 -> 7ad042028
Fixed a few comment typos in `hierarchical.cpp`.
Review: https://reviews.apache.org/r/64760/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7ad04202
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7ad04202
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7ad04202
Branch: refs/heads/master
Commit: 7ad0420289d5e6445ab024fd7c084655a0c97ab1
Parents: b386fe1
Author: Meng Zhu <mz...@mesosphere.io>
Authored: Wed Dec 20 19:10:37 2017 -0800
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Wed Dec 20 19:10:37 2017 -0800
----------------------------------------------------------------------
src/master/allocator/mesos/hierarchical.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/7ad04202/src/master/allocator/mesos/hierarchical.cpp
----------------------------------------------------------------------
diff --git a/src/master/allocator/mesos/hierarchical.cpp b/src/master/allocator/mesos/hierarchical.cpp
index 247405a..7f7dae1 100644
--- a/src/master/allocator/mesos/hierarchical.cpp
+++ b/src/master/allocator/mesos/hierarchical.cpp
@@ -1573,7 +1573,7 @@ void HierarchicalAllocatorProcess::__allocate()
return quotaRoleSorter->allocationScalarQuantities(role).toUnreserved();
};
- // We need to keep track of allocated reserved resourecs for roles
+ // We need to keep track of allocated reserved resources for roles
// with quota in order to enforce their quota limit. Note these are
// __quantities__ with no meta-data.
hashmap<string, Resources> allocatedReservationScalarQuantities;
@@ -1949,7 +1949,7 @@ void HierarchicalAllocatorProcess::__allocate()
// into the old format by "hiding" the intermediate reservations in the
// "stack", this leads to ambiguity when processing RESERVE / UNRESERVE
// operations. This is due to the loss of information when we drop the
- // intermediatereservations. Therefore, for now we simply filter out
+ // intermediate reservations. Therefore, for now we simply filter out
// resources with refined reservations if the framework does not have
// the capability.
if (!framework.capabilities.reservationRefinement) {
@@ -2101,7 +2101,7 @@ void HierarchicalAllocatorProcess::__allocate()
// into the old format by "hiding" the intermediate reservations in the
// "stack", this leads to ambiguity when processing RESERVE / UNRESERVE
// operations. This is due to the loss of information when we drop the
- // intermediatereservations. Therefore, for now we simply filter out
+ // intermediate reservations. Therefore, for now we simply filter out
// resources with refined reservations if the framework does not have
// the capability.
if (!framework.capabilities.reservationRefinement) {