Skip to content

Commit 71cee91

Browse files
authored
fix typos in storage SDK (Azure#5208)
1 parent ada3915 commit 71cee91

File tree

7 files changed

+26
-9
lines changed

7 files changed

+26
-9
lines changed

.vscode/cspell.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"AMQP",
6363
"AMQPS",
6464
"AMQPVALUE",
65+
"avro",
6566
"antkmsft",
6667
"azcore",
6768
"azsdk",
@@ -129,6 +130,7 @@
129130
"LPBYTE",
130131
"LPSTR",
131132
"LPWSTR",
133+
"mbps",
132134
"MHSM",
133135
"mmdc",
134136
"moxygen",
@@ -190,6 +192,7 @@
190192
"uaenorth",
191193
"uamqp",
192194
"uksouth",
195+
"Uncomitted",
193196
"undeleted",
194197
"unscoped",
195198
"unskipped",
@@ -201,6 +204,7 @@
201204
"Verdana",
202205
"Viet",
203206
"Viktor",
207+
"versionid",
204208
"vusg",
205209
"Wdocumentation",
206210
"Werror",
@@ -317,12 +321,24 @@
317321
"pfile"
318322
]
319323
},
324+
{
325+
"filename": "**/sdk/storage/faq.md",
326+
"words": [
327+
"dont"
328+
]
329+
},
320330
{
321331
"filename": "**/sdk/storage/azure-storage-queues/src/rest_client.cpp",
322332
"words": [
323333
"numofmessages"
324334
]
325335
},
336+
{
337+
"filename": "**/sdk/storage/azure-storage-queues/swagger/README.md",
338+
"words": [
339+
"messageid"
340+
]
341+
},
326342
{
327343
"filename": "**/sdk/storage/azure-storage-files-shares/**/*",
328344
"words": [

sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ namespace Azure { namespace Storage { namespace Blobs {
11441144
* @brief Creates CSV text configuration.
11451145
*
11461146
* @param recordSeparator Record separator.
1147-
* @param columnSeparator Column sepeartor.
1147+
* @param columnSeparator Column separator.
11481148
* @param quotationCharacter Field quote.
11491149
* @param escapeCharacter Escape character.
11501150
* @param hasHeaders If CSV file has headers.
@@ -1191,7 +1191,7 @@ namespace Azure { namespace Storage { namespace Blobs {
11911191
* @brief Creates CSV text configuration.
11921192
*
11931193
* @param recordSeparator Record separator.
1194-
* @param columnSeparator Column sepeartor.
1194+
* @param columnSeparator Column separator.
11951195
* @param quotationCharacter Field quote.
11961196
* @param escapeCharacter Escape character.
11971197
* @param hasHeaders If CSV file has headers.

sdk/storage/azure-storage-blobs/src/block_blob_client.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ namespace Azure { namespace Storage { namespace Blobs {
633633
auto response = _detail::BlobClient::Query(
634634
*m_pipeline, m_blobUrl, protocolLayerOptions, _internal::WithReplicaStatus(context));
635635

636-
const auto stautsCode = response.RawResponse->GetStatusCode();
636+
const auto statusCode = response.RawResponse->GetStatusCode();
637637
const auto reasonPhrase = response.RawResponse->GetReasonPhrase();
638638
const auto requestId
639639
= response.RawResponse->GetHeaders().count(_internal::HttpHeaderRequestId) != 0
@@ -646,11 +646,11 @@ namespace Azure { namespace Storage { namespace Blobs {
646646
: std::string();
647647

648648
auto defaultErrorHandler
649-
= [stautsCode, reasonPhrase, requestId, clientRequestId](BlobQueryError e) {
649+
= [statusCode, reasonPhrase, requestId, clientRequestId](BlobQueryError e) {
650650
if (e.IsFatal)
651651
{
652652
StorageException exception("Fatal " + e.Name + " at " + std::to_string(e.Position));
653-
exception.StatusCode = stautsCode;
653+
exception.StatusCode = statusCode;
654654
exception.ReasonPhrase = reasonPhrase;
655655
exception.RequestId = requestId;
656656
exception.ClientRequestId = clientRequestId;

sdk/storage/azure-storage-blobs/swagger/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ directive:
17861786
$.ContainerProperties.properties["DefaultEncryptionScope"].description = "The default encryption scope for the container.";
17871787
$.ContainerProperties.properties["DenyEncryptionScopeOverride"].description = "Indicates whether the container's default encryption scope can be overriden.";
17881788
$.ContainerProperties.properties["DeletedTime"].description = "Data and time at which this container was deleted. Only valid when this container was deleted.";
1789-
$.ContainerProperties.properties["RemainingRetentionDays"].description = "Remaining days before this container will be permanantely deleted. Only valid when this container was deleted.";
1789+
$.ContainerProperties.properties["RemainingRetentionDays"].description = "Remaining days before this container will be permanently deleted. Only valid when this container was deleted.";
17901790
$.FilterBlobItem.properties["Name"].description = "Blob name.";
17911791
$.FilterBlobItem.properties["ContainerName"].description = "Blob container name.";
17921792
$.BlobItemInternal.properties["Name"].description = "Blob name.";
@@ -1810,7 +1810,7 @@ directive:
18101810
$.BlobPropertiesInternal.properties["IncrementalCopy"].description = "Included if the blob is incremental copy blob.";
18111811
$.BlobPropertiesInternal.properties["DestinationSnapshot"].description = "Included if the blob is incremental copy blob or incremental copy snapshot, if x-ms-copy-status is success. Snapshot time of the last successful incremental copy snapshot for this blob.";
18121812
$.BlobPropertiesInternal.properties["DeletedTime"].description = "Data and time at which this blob was deleted. Only valid when this blob was deleted.";
1813-
$.BlobPropertiesInternal.properties["RemainingRetentionDays"].description = "Remaining days before this blob will be permanantely deleted. Only valid when this blob was deleted.";
1813+
$.BlobPropertiesInternal.properties["RemainingRetentionDays"].description = "Remaining days before this blob will be permanently deleted. Only valid when this blob was deleted.";
18141814
$.BlobPropertiesInternal.properties["AccessTierInferred"].description = "True if the access tier is not explicitly set on the blob.";
18151815
$.BlobPropertiesInternal.properties["CustomerProvidedKeySha256"].description = "SHA-256 hash of the encryption key.";
18161816
$.BlobPropertiesInternal.properties["AccessTierChangeTime"].description = "The time the tier was changed on the object. This is only returned if the tier on the block blob was ever set.";

sdk/storage/azure-storage-blobs/test/perf/inc/azure/storage/blobs/test/upload_blob_test.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Azure { namespace Storage { namespace Blobs { namespace Test {
2727
*/
2828
class UploadBlob : public Azure::Storage::Blobs::Test::BlobsTest {
2929
private:
30-
// C++ can upload and download from contiguos memory or file only
30+
// C++ can upload and download from continuous memory or file only
3131
std::vector<uint8_t> m_uploadBuffer;
3232

3333
public:

sdk/storage/azure-storage-files-datalake/test/ut/datalake_path_client_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ namespace Azure { namespace Storage { namespace Test {
318318

319319
// Set Acls
320320
auto rootDirClient = m_fileSystemClient->GetDirectoryClient("");
321+
/* cspell:disable-next-line */
321322
rootDirClient.SetPermissions("rwxrwxrwx");
322323
auto aclResult = rootDirClient.GetAccessControlList();
323324
auto acls = aclResult.Value.Acls;

sdk/storage/azure-storage-files-shares/swagger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ directive:
614614
$["x-ms-marker"]["x-nullable"] = true;
615615
```
616616
617-
### CreateDirecotry
617+
### CreateDirectory
618618
619619
```yaml
620620
directive:

0 commit comments

Comments
 (0)