Skip to content

Commit

Permalink
Fixed a bunch of typos of the word 'finished'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebbo committed Nov 18, 2015
1 parent 37490a5 commit c77ba4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Kudu.Core/SiteExtensions/FeedExtensions.cs
Expand Up @@ -106,7 +106,7 @@ public static async Task DownloadPackageToFolder(this SourceRepository srcRepo,
// reset length of file stream
writeStream.SetLength(0);

// let the thread go with itself, so that once file finsihed writing, doesn`t need to request thread context from main thread
// let the thread go with itself, so that once file finishes writing, doesn't need to request thread context from main thread
await entry.OpenReader().CopyToAsync(writeStream).ConfigureAwait(false);
}
}
Expand Down Expand Up @@ -191,7 +191,7 @@ public static async Task UpdateLocalPackage(this SourceRepository srcRepo, Sourc
// reset length of file stream
writeStream.SetLength(0);

// let the thread go with itself, so that once file finsihed writing, doesn`t need to request thread context from main thread
// let the thread go with itself, so that once file finishes writing, doesn't need to request thread context from main thread
await entry.OpenReader().CopyToAsync(writeStream).ConfigureAwait(false);
}
}
Expand Down
Expand Up @@ -317,7 +317,7 @@ public async Task SiteExtensionInstallUninstallAsyncTest(string feedEndpoint, st
// Update should return right away, expecting code to look up from feed that store in local package
// since we had installed the latest package, there is nothing to update.
// We shouldn`t see any site operation header value
// And there is no polling, since it finsihed within 15 seconds
// And there is no polling, since it finished within 15 seconds
responseMessage = await manager.InstallExtension(testPackageId);
armResult = await responseMessage.Content.ReadAsAsync<ArmEntry<SiteExtensionInfo>>();
Assert.Equal(string.Empty, armResult.Location); // test "x-ms-geo-location" header is empty, same value should be assign to "Location"
Expand Down
8 changes: 4 additions & 4 deletions Kudu.Services/SiteExtensions/SiteExtensionController.cs
Expand Up @@ -105,7 +105,7 @@ public async Task<HttpResponseMessage> GetLocalExtension(string id, bool checkLa
{
if (SiteExtensionInstallationLock.IsAnyPendingLock(_environment.SiteExtensionSettingsPath, tracer))
{
using (tracer.Step("{0} finsihed installation. But there is other installation on-going, fake the status to be Created, so that we can restart once for all.", id))
using (tracer.Step("{0} finished installation. But there is other installation on-going, fake the status to be Created, so that we can restart once for all.", id))
{
// if there is other pending installation, fake the status
extension.ProvisioningState = Constants.SiteExtensionProvisioningStateCreated;
Expand All @@ -121,7 +121,7 @@ public async Task<HttpResponseMessage> GetLocalExtension(string id, bool checkLa
// clear operation, since opeation is done
if (UpdateArmSettingsForSuccessInstallation())
{
using (tracer.Step("{0} finsihed installation and batch update lock aquired. Will notify Antares GEO to restart website.", id))
using (tracer.Step("{0} finished installation and batch update lock aquired. Will notify Antares GEO to restart website.", id))
{
responseMessage = Request.CreateResponse(armSettings.Status, ArmUtils.AddEnvelopeOnArmRequest<SiteExtensionInfo>(extension, Request));

Expand Down Expand Up @@ -369,7 +369,7 @@ public async Task<HttpResponseMessage> UninstallExtension(string id)
}

/// <summary>
/// Log to MDS when installation/uninstallation finsihed
/// Log to MDS when installation/uninstallation finishes
/// </summary>
private void LogEndEvent(string id, TimeSpan duration, ITracer tracer, string defaultResult = null)
{
Expand Down Expand Up @@ -407,7 +407,7 @@ private async Task<SiteExtensionInfo> InitInstallSiteExtension(string id, SiteEx
private bool UpdateArmSettingsForSuccessInstallation()
{
var tracer = _traceFactory.GetTracer();
using (tracer.Step("Checking if there is any installation finsihed recently, if there is one, update its status."))
using (tracer.Step("Checking if there is any installation finished recently, if there is one, update its status."))
{
var batchUpdateLock = SiteExtensionBatchUpdateStatusLock.CreateLock(_environment.SiteExtensionSettingsPath);

Expand Down

0 comments on commit c77ba4d

Please sign in to comment.