You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/12/19 23:14:41 UTC
[11/12] mesos git commit: Fixed a few typos in SLRP.
Fixed a few typos in SLRP.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/edf8b707
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/edf8b707
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/edf8b707
Branch: refs/heads/master
Commit: edf8b7076d5fdbc6afd623e47f9f17c7aeda178b
Parents: 78cc4e9
Author: Jie Yu <yu...@gmail.com>
Authored: Tue Dec 19 11:37:58 2017 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Tue Dec 19 15:14:22 2017 -0800
----------------------------------------------------------------------
src/resource_provider/storage/provider.cpp | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/edf8b707/src/resource_provider/storage/provider.cpp
----------------------------------------------------------------------
diff --git a/src/resource_provider/storage/provider.cpp b/src/resource_provider/storage/provider.cpp
index 772952e..6fd82ba 100644
--- a/src/resource_provider/storage/provider.cpp
+++ b/src/resource_provider/storage/provider.cpp
@@ -443,7 +443,7 @@ private:
// The last set of profile names fetched from the VolumeProfileAdaptor.
hashset<string> knownProfiles;
- // True if a reconcilition of storage pools is happening.
+ // True if a reconciliation of storage pools is happening.
bool reconciling;
ContainerID controllerContainerId;
@@ -850,7 +850,7 @@ Future<Nothing> StorageLocalResourceProviderProcess::recoverVolumes()
}
// NOTE: We avoid using a default clause for the following
- // values in proto3's open enum to enable the compiler to detcet
+ // values in proto3's open enum to enable the compiler to detect
// missing enum cases for us. See:
// https://github.com/google/protobuf/issues/3917
case google::protobuf::kint32min:
@@ -927,7 +927,7 @@ Future<Nothing> StorageLocalResourceProviderProcess::recoverProfiles()
{
// Rebuild the set of required profiles from the checkpointed storage
// pools (i.e., RAW resources that have no volume ID). We do not need
- // to resolve profiles for resoures that have volume IDs, since their
+ // to resolve profiles for resources that have volume IDs, since their
// volume capabilities are already checkpointed.
hashset<string> requiredProfiles;
foreach (const Resource& resource, totalResources) {
@@ -947,7 +947,7 @@ Future<Nothing> StorageLocalResourceProviderProcess::recoverProfiles()
<< "Waiting for VolumeProfileAdaptor to recover profiles: "
<< stringify(requiredProfiles);
- // The VolumeProfileAdapter module must at lest have knowledge of
+ // The VolumeProfileAdapter module must at least have knowledge of
// the required profiles. Because the module is initialized separately
// from this resource provider, we must watch the module until all
// required profiles have been recovered.
@@ -1503,7 +1503,7 @@ void StorageLocalResourceProviderProcess::publishResources(
}
// NOTE: We avoid using a default clause for the following
- // values in proto3's open enum to enable the compiler to detcet
+ // values in proto3's open enum to enable the compiler to detect
// missing enum cases for us. See:
// https://github.com/google/protobuf/issues/3917
case google::protobuf::kint32min:
@@ -2717,7 +2717,7 @@ StorageLocalResourceProviderProcess::applyCreateVolumeOrBlock(
// the same volume will be returned when recovering from a failover).
//
// For 2, there are two scenarios:
- // a. If the volume has a checkpointed state (becasue it was created
+ // a. If the volume has a checkpointed state (because it was created
// by a previous resource provider), we simply check if its
// checkpointed capability supports the conversion.
// b. If the volume is newly discovered, `ValidateVolumeCapabilities`
@@ -2938,7 +2938,7 @@ Try<Nothing> StorageLocalResourceProviderProcess::updateOfferOperationStatus(
OfferOperation& operation = offerOperations.at(operationUuid);
if (conversions.isSome()) {
- // Strip away the allocation info when applying the convertion to
+ // Strip away the allocation info when applying the conversion to
// the total resources.
vector<ResourceConversion> _conversions;
foreach (ResourceConversion conversion, conversions.get()) {