Skip to content

Commit 66ee171

Browse files
authored
Spelling Fixes (#28048)
1 parent 3809019 commit 66ee171

File tree

29 files changed

+47
-47
lines changed

29 files changed

+47
-47
lines changed

src/DataLakeAnalytics/DataLakeAnalytics.Test/ScenarioTests/AdlaAliasTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ function Test-DataLakeAnalyticsJob
605605

606606
$jobsWithDateOffset = Get-AdlJob -AccountName $accountName -SubmittedAfter $([DateTimeOffset]($nowTime).AddMinutes(-10))
607607

608-
Assert-True {$jobsWithDateOffset.Count -gt 0} "Failed to retrieve jobs submitted after ten miuntes ago"
608+
Assert-True {$jobsWithDateOffset.Count -gt 0} "Failed to retrieve jobs submitted after ten minutes ago"
609609

610610
# We add ten minutes to ensure that the timing is right, since we are using the account creation time, and not truly "now"
611611
$jobsWithDateOffset = Get-AdlJob -AccountName $accountName -SubmittedBefore $([DateTimeOffset]($nowTime).AddMinutes(10))

src/DataLakeAnalytics/DataLakeAnalytics.Test/ScenarioTests/AdlaTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ function Test-DataLakeAnalyticsJob
491491

492492
$jobsWithDateOffset = Get-AzDataLakeAnalyticsJob -AccountName $accountName -SubmittedAfter $([DateTimeOffset]($nowTime).AddMinutes(-10))
493493

494-
Assert-True {$jobsWithDateOffset.Count -gt 0} "Failed to retrieve jobs submitted after ten miuntes ago"
494+
Assert-True {$jobsWithDateOffset.Count -gt 0} "Failed to retrieve jobs submitted after ten minutes ago"
495495

496496
# We add ten minutes to ensure that the timing is right, since we are using the account creation time, and not truly "now"
497497
$jobsWithDateOffset = Get-AzDataLakeAnalyticsJob -AccountName $accountName -SubmittedBefore $([DateTimeOffset]($nowTime).AddMinutes(10))

src/DataLakeAnalytics/DataLakeAnalytics/Commands/GetAzureRmDataLakeAnalyticsAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override void ExecuteCmdlet()
5353
}
5454
else
5555
{
56-
// List all accounts in given resource group if avaliable otherwise all accounts in the subscription
56+
// List all accounts in given resource group if available otherwise all accounts in the subscription
5757
WriteObject(DataLakeAnalyticsClient.ListAccounts(ResourceGroupName, null, null, null)
5858
.Select(element => new PSDataLakeAnalyticsAccountBasic(element))
5959
.ToList(), true);

src/DataLakeAnalytics/DataLakeAnalytics/Models/DataLakeAnalyticsClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ public List<Acl> GetCatalogItemAclEntry(string accountName, CatalogPathInstance
829829
getNextPage = nextPageLink => _catalogClient.Catalog.ListAclsByDatabase(nextPageLink, path.DatabaseName);
830830
break;
831831

832-
default: throw new ArgumentException($"ACL operations are unsupported for catatlog item type: {itemType}");
832+
default: throw new ArgumentException($"ACL operations are unsupported for catalog item type: {itemType}");
833833
}
834834
}
835835

@@ -881,7 +881,7 @@ public void AddOrUpdateCatalogItemAclEntry(
881881
_catalogClient.Catalog.GrantAclToDatabase(accountName, path.DatabaseName, parameters);
882882
break;
883883

884-
default: throw new ArgumentException($"ACL operations are unsupported for catatlog item type: {itemType}");
884+
default: throw new ArgumentException($"ACL operations are unsupported for catalog item type: {itemType}");
885885
}
886886
}
887887
}
@@ -929,7 +929,7 @@ public void RemoveCatalogItemAclEntry(
929929
_catalogClient.Catalog.RevokeAclFromDatabase(accountName, path.DatabaseName, parameters);
930930
break;
931931

932-
default: throw new ArgumentException($"ACL operations are unsupported for catatlog item type: {itemType}");
932+
default: throw new ArgumentException($"ACL operations are unsupported for catalog item type: {itemType}");
933933
}
934934
}
935935
}

src/DataLakeStore/DataLakeStore/Commands/GetAzureRmDataLakeStoreAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public override void ExecuteCmdlet()
5252
}
5353
else
5454
{
55-
// List all accounts in given resource group if avaliable otherwise all accounts in the subscription
55+
// List all accounts in given resource group if available otherwise all accounts in the subscription
5656
WriteObject(DataLakeStoreClient.ListAccounts(ResourceGroupName, null, null, null)
5757
.Select(element => new PSDataLakeStoreAccountBasic(element))
5858
.ToList(), true);

src/DataLakeStore/DataLakeStore/DataPlaneModels/DataLakeStoreFileSystemClient.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public DataLakeStoreFileSystemClient(IAzureContext context, DataLakeStoreFileSys
9999
}
100100
}
101101

102-
// Keep this outside if block because it is also used for diagnostic file loggind for BulkCopy
102+
// Keep this outside if block because it is also used for diagnostic file logging for BulkCopy
103103
_adlsLoggerConfig = new LoggingConfiguration();
104104
if (_isDebugEnabled)
105105
{
@@ -206,7 +206,7 @@ public AclProcessorStats ChangeAclRecursively(string path, string accountName, L
206206
{
207207
System.Progress<AclProcessorStats> progressTracker = null;
208208
ProgressRecord progress = null;
209-
// If passing null, then we do not want progreess tracking
209+
// If passing null, then we do not want progress tracking
210210
if (trackProgress)
211211
{
212212
progress = new ProgressRecord(_uniqueActivityIdGenerator.Next(0, 10000000),
@@ -344,13 +344,13 @@ public DirectoryEntry SetExpiry(string path, string accountName, long timeToSet,
344344
/// <param name="sourcePath">Source Path</param>
345345
/// <param name="accountName">Account name</param>
346346
/// <param name="destinationPath">Destination path</param>
347-
/// <returns>True if rename is successful else fale</returns>
347+
/// <returns>True if rename is successful else false</returns>
348348
public bool RenameFileOrDirectory(string sourcePath, string accountName, string destinationPath)
349349
{
350350
return AdlsClientFactory.GetAdlsClient(accountName, _context).Rename(sourcePath, destinationPath);
351351
}
352352
/// <summary>
353-
/// Reads the lines, updates the number of lines and returns the last positio of \r or \n in the byte buffer.
353+
/// Reads the lines, updates the number of lines and returns the last position of \r or \n in the byte buffer.
354354
/// If a combined newline (\r\n), the index returned is that of the first character in the sequence.
355355
/// </summary>
356356
/// <param name="buffer">The buffer to search in.</param>
@@ -416,7 +416,7 @@ private static int ReadNewLinesReverse(byte[] buffer, int lengthData, Encoding e
416416
charPos -= bytesPerChar;
417417
}
418418
}
419-
// prevPos will always point to the last byte of the charcter previous to \n or \r
419+
// prevPos will always point to the last byte of the character previous to \n or \r
420420
prevPos = charPos;
421421
}
422422
}
@@ -495,7 +495,7 @@ public IEnumerable<string> GetStreamRows(string streamPath, string accountName,
495495
readerAdl.Seek(initialOffset, SeekOrigin.Begin);
496496

497497
int dataActuallyRead = readerAdl.Read(buffer, 0, dataPerRead);
498-
// Reads the lines, updates the number of lines and returns the last poisiotn of \r or \n
498+
// Reads the lines, updates the number of lines and returns the last position of \r or \n
499499
int newLineOffset = ReadNewLinesReverse(buffer, dataActuallyRead, encoding, numRows, ref toReturn, ref readRows);
500500
if (newLineOffset != -1)
501501
{
@@ -554,7 +554,7 @@ public DirectoryEntry GetFileStatus(string filePath, string accountName)
554554
/// <param name="path">File Path</param>
555555
/// <param name="accountName">Account name</param>
556556
/// <param name="numThreads">Concurrency</param>
557-
/// <param name="cancelToken">Cancelation token</param>
557+
/// <param name="cancelToken">Cancellation token</param>
558558
/// <returns></returns>
559559
public ContentSummary GetContentSummary(string path, string accountName, int numThreads, CancellationToken cancelToken)
560560
{
@@ -818,7 +818,7 @@ public void GetFileProperties(string accountName, string path, bool getAclUsage,
818818

819819
#region private helpers
820820
/// <summary>
821-
/// Tracks the task and shows the task progress or debug nessages after a regular interval in the PowerShell console.
821+
/// Tracks the task and shows the task progress or debug messages after a regular interval in the PowerShell console.
822822
/// Call this method only if you want to do something for a task - like show progress, show debug messages
823823
/// </summary>
824824
/// <param name="task">The task that tracks the upload.</param>

src/DataLakeStore/DataLakeStore/Models/DataLakeStoreTracingInterceptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void TraceError(string invocationId, Exception exception)
7070
var adlException = exception as AdlsErrorException;
7171
if (adlException == null)
7272
{
73-
Logger.LogError("exception ocurred: {0}, invocationId={1}", exception, invocationId);
73+
Logger.LogError("exception occurred: {0}, invocationId={1}", exception, invocationId);
7474
}
7575
else
7676
{

src/DataLakeStore/DataLakeStore/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DataMigration/DataMigration.Autorest/custom/Cmdlets/Get-AzDataMigrationPerformanceDataCollection.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function Get-AzDataMigrationPerformanceDataCollection
137137
'staticQueryIntervalInSec'= $StaticQueryInterval
138138
'numberOfIterations'= $NumberOfIterations
139139
}
140-
# removing empty key,vallue pairs from $jsonHash
140+
# removing empty key,value pairs from $jsonHash
141141
if($OutputFolder -eq "")
142142
{
143143
$jsonHash.Remove('outputfolder')

src/DataMigration/DataMigration.Autorest/docs/Az.DataMigration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Migrate TDE certificate(s) from source SQL Server to the target Azure SQL Server
6565
### [New-AzDataMigrationToSqlDb](New-AzDataMigrationToSqlDb.md)
6666
Create a new database migration to a given SQL Db.
6767
This command can migrate data from the selected source database tables to the target database tables.
68-
If the target database have no table existing, please use [New-AzDataMigrationSqlServerSchema](https://learn.microsoft.com/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema) command to migrate schema objects from source database to target databse.
68+
If the target database have no table existing, please use [New-AzDataMigrationSqlServerSchema](https://learn.microsoft.com/powershell/module/az.datamigration/new-azdatamigrationsqlserverschema) command to migrate schema objects from source database to target database.
6969

7070
### [New-AzDataMigrationToSqlManagedInstance](New-AzDataMigrationToSqlManagedInstance.md)
7171
Create a new database migration to a given SQL Managed Instance.

0 commit comments

Comments
 (0)