Skip to content

Commit 6ad7911

Browse files
Another review change
1 parent 70d564e commit 6ad7911

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/storage/common/geo-redundant-design.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,8 @@ Uri primaryAccountUri = new Uri($"https://{accountName}.blob.core.windows.net/")
124124
Uri secondaryAccountUri = new Uri($"https://{accountName}-secondary.blob.core.windows.net/");
125125

126126
// Create a BlobServiceClient object pointed at the secondary Uri
127-
BlobServiceClient blobServiceClientSecondary = new BlobServiceClient(secondaryAccountUri, new DefaultAzureCredential(), blobClientOptions);
128-
129127
// Use blobServiceClientSecondary only when issuing read requests, as secondary storage is read-only
128+
BlobServiceClient blobServiceClientSecondary = new BlobServiceClient(secondaryAccountUri, new DefaultAzureCredential(), blobClientOptions);
130129
```
131130

132131
Knowing when to switch to read-only mode and **secondary only** requests is part of an architectural design pattern called the [Circuit Breaker pattern](/azure/architecture/patterns/circuit-breaker), which will be discussed in a later section.

0 commit comments

Comments
 (0)