Skip to content

Commit 32ab9b8

Browse files
authored
Spelling Fixes (#28090)
1 parent 8382fdb commit 32ab9b8

30 files changed

+76
-76
lines changed

src/Storage/Storage/Blob/Cmdlet/CopyAzureStorageBlob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ internal IStorageBlobManagement GetDestinationChannel()
204204
{
205205
//If destChannel exits, reuse it.
206206
//If desContext exits, use it.
207-
//If Channl object exists, use it.
207+
//If Channel object exists, use it.
208208
//Otherwise, create a new channel.
209209
IStorageBlobManagement destChannel = default(IStorageBlobManagement);
210210

src/Storage/Storage/Blob/Cmdlet/GetAzStorageBlobQueryResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class GetStorageAzureBlobQueryResultCommand : StorageCloudBlobCmdletBase
3636
private const string BlobPipelineParameterSet = "BlobPipeline";
3737

3838
/// <summary>
39-
/// container pipeline paremeter set name
39+
/// container pipeline parameter set name
4040
/// </summary>
4141
private const string ContainerPipelineParameterSet = "ContainerPipeline";
4242

@@ -180,7 +180,7 @@ internal async Task QueryAzureBlob(long taskId, IStorageBlobManagement localChan
180180
bytesScanned = finishedBytes;
181181
});
182182

183-
// preapre query Option
183+
// prepare query Option
184184
// Not show the Progressbar now, since the ProgressHandler can't represent the read query progress
185185
Track2Models.BlobQueryOptions queryOption = new Track2Models.BlobQueryOptions
186186
{

src/Storage/Storage/Blob/Cmdlet/GetAzStorageBlobTag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class GetAzStorageAzureBlobTagCommand : StorageCloudBlobCmdletBase
3737
private const string BlobPipelineParameterSet = "BlobPipeline";
3838

3939
/// <summary>
40-
/// container pipeline paremeter set name
40+
/// container pipeline parameter set name
4141
/// </summary>
4242
private const string ContainerPipelineParameterSet = "ContainerPipeline";
4343

src/Storage/Storage/Blob/Cmdlet/GetAzureStorageBlob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ internal async Task ListBlobsByName(long taskId, IStorageBlobManagement localCha
259259
/// <param name="taskId">Task id</param>
260260
/// <param name="localChannel">IStorageBlobManagement channel object</param>
261261
/// <param name="containerName">container name</param>
262-
/// <param name="prefix">blob preifx</param>
262+
/// <param name="prefix">blob prefix</param>
263263
/// <param name="blobFilter"></param>
264264
/// <param name="includeDeleted"></param>
265265
/// <param name="includeVersion"></param>

src/Storage/Storage/Blob/Cmdlet/GetAzureStorageBlobByTag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public int? MaxCount
6060
[Parameter(Mandatory = false, HelpMessage = "Continuation Token.")]
6161
public BlobContinuationToken ContinuationToken { get; set; }
6262

63-
[Parameter(Mandatory = false, HelpMessage = "As the blobs get by tag don't contain blob proeprties, specify tis parameter to get blob properties with an additional request on each blob.")]
63+
[Parameter(Mandatory = false, HelpMessage = "As the blobs get by tag don't contain blob properties, specify tis parameter to get blob properties with an additional request on each blob.")]
6464
public SwitchParameter GetBlobProperty { get; set; }
6565

6666
[Parameter(Mandatory = false, HelpMessage = "Container name, specify this parameter to only return all blobs whose tags match a search expression in the container.")]

src/Storage/Storage/Blob/Cmdlet/GetAzureStorageBlobContent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class GetAzureStorageBlobContentCommand : StorageDataMovementCmdletBase
5454
private const string ContainerParameterSet = "ContainerPipeline";
5555

5656
/// <summary>
57-
/// downlaod from uri parameter set
57+
/// download from uri parameter set
5858
/// </summary>
5959
private const string UriParameterSet = "UriPipeline";
6060

@@ -444,7 +444,7 @@ internal string GetFullReceiveFilePath(string fileName, string blobName, DateTim
444444
throw new ArgumentException(String.Format(Resources.InvalidFileName, fileName));
445445
}
446446

447-
//there is no need to check the read/write permission on the specified file path, the datamovement libraray will do that
447+
//there is no need to check the read/write permission on the specified file path, the data movement library will do that
448448

449449
return filePath;
450450
}

src/Storage/Storage/Blob/Cmdlet/GetAzureStorageBlobCopyState.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class GetAzureStorageBlobCopyState : StorageCloudBlobCmdletBase
3434
private const string BlobPipelineParameterSet = "BlobPipeline";
3535

3636
/// <summary>
37-
/// container pipeline paremeter set name
37+
/// container pipeline parameter set name
3838
/// </summary>
3939
private const string ContainerPipelineParmeterSet = "ContainerPipeline";
4040

@@ -83,7 +83,7 @@ public SwitchParameter WaitForComplete
8383
public override string TagCondition { get; set; }
8484

8585
/// <summary>
86-
/// CloudBlob objects which need to mointor until copy complete
86+
/// CloudBlob objects which need to monitor until copy complete
8787
/// </summary>
8888
private ConcurrentQueue<Tuple<long, CloudBlob>> jobList = new ConcurrentQueue<Tuple<long, CloudBlob>>();
8989
private ConcurrentDictionary<long, bool> TaskStatus = new ConcurrentDictionary<long, bool>();
@@ -126,7 +126,7 @@ public override void ExecuteCmdlet()
126126
case BlobPipelineParameterSet:
127127
if (CloudBlob is InvalidCloudBlob)
128128
{
129-
throw new InvalidOperationException("This cmdlet is not supportted on a blob version.");
129+
throw new InvalidOperationException("This cmdlet is not supported on a blob version.");
130130
}
131131
blob = GetCloudBlobObject(CloudBlob);
132132
break;

src/Storage/Storage/Blob/Cmdlet/NewAzureStorageBlobSasToken.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet
3434
public class NewAzureStorageBlobSasTokenCommand : StorageCloudBlobCmdletBase
3535
{
3636
/// <summary>
37-
/// container pipeline paremeter set name with permission
37+
/// container pipeline parameter set name with permission
3838
/// </summary>
3939
private const string BlobNamePipelineParmeterSetWithPermission = "BlobNameWithPermission";
4040

4141
/// <summary>
42-
/// container pipeline paremeter set name with policy
42+
/// container pipeline parameter set name with policy
4343
/// </summary>
4444
private const string BlobNamePipelineParmeterSetWithPolicy = "BlobNameWithPolicy";
4545

@@ -202,7 +202,7 @@ public override void ExecuteCmdlet()
202202
blobClient = AzureStorageBlob.GetTrack2BlobClient(blob, Channel.StorageContext, this.ClientOptions);
203203
}
204204

205-
// Get contaienr saved policy if any
205+
// Get container saved policy if any
206206
BlobSignedIdentifier identifier = null;
207207
if (ParameterSetName == BlobNamePipelineParmeterSetWithPolicy || ParameterSetName == BlobPipelineParameterSetWithPolicy)
208208
{

src/Storage/Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class NewAzureStorageContainerSasTokenCommand : StorageCloudBlobCmdletBas
3636
private const string SasPermissionParameterSet = "SasPermission";
3737

3838
/// <summary>
39-
/// Sas policy paremeter set name
39+
/// Sas policy parameter set name
4040
/// </summary>
4141
private const string SasPolicyParmeterSet = "SasPolicy";
4242

@@ -143,7 +143,7 @@ public override void ExecuteCmdlet()
143143
CloudBlobContainer container_Track1 = Channel.GetContainerReference(Name);
144144
BlobContainerClient container = AzureStorageContainer.GetTrack2BlobContainerClient(container_Track1, Channel.StorageContext, ClientOptions);
145145

146-
// Get contaienr saved policy if any
146+
// Get container saved policy if any
147147
Track2Models.BlobSignedIdentifier identifier = null;
148148
if (ParameterSetName == SasPolicyParmeterSet)
149149
{

src/Storage/Storage/Blob/Cmdlet/RemoveAzureStorageBlob.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class RemoveStorageAzureBlobCommand : StorageCloudBlobCmdletBase
3636
private const string BlobPipelineParameterSet = "BlobPipeline";
3737

3838
/// <summary>
39-
/// container pipeline paremeter set name
39+
/// container pipeline parameter set name
4040
/// </summary>
4141
private const string ContainerPipelineParameterSet = "ContainerPipeline";
4242

@@ -384,7 +384,7 @@ internal async Task RemoveAzureBlob(long taskId, IStorageBlobManagement localCha
384384
BlobContainerClient track2container = AzureStorageContainer.GetTrack2BlobContainerClient(container, localChannel.StorageContext, ClientOptions);
385385
BlobBaseClient blobClient = Util.GetTrack2BlobClient(track2container, blobName, localChannel.StorageContext, this.VersionId, null,
386386
this.SnapshotTime is null? null : this.SnapshotTime.Value.ToUniversalTime().ToString("o").Replace("+00:00", "Z"), ClientOptions);
387-
// Skip check blob existance, as Server will report error is necessary
387+
// Skip check blob existence, as Server will report error is necessary
388388

389389
await RemoveAzureBlobTrack2(taskId, localChannel, blobClient, true).ConfigureAwait(false);
390390
}

0 commit comments

Comments
 (0)